author | Patrick Mezard <pmezard@gmail.com> |
Sun, 14 Feb 2010 13:58:30 +0100 | |
branch | stable |
changeset 10462 | a94804a8087d |
parent 10461 | 0add1e265ac2 |
child 10463 | 5ddde896a19d |
hgext/progress.py | file | annotate | diff | comparison | revisions |
--- a/hgext/progress.py Sun Feb 14 13:29:11 2010 +0100 +++ b/hgext/progress.py Sun Feb 14 13:58:30 2010 +0100 @@ -157,7 +157,7 @@ if topic not in self.topics: self.topics.append(topic) now = time.time() - if now - self.lastprint > 0.1 and topic == self.topics[-1]: + if now - self.lastprint > self.refresh and topic == self.topics[-1]: self.lastprint = now self.show(topic, pos, item, unit, total) return orig(topic, pos, item=item, unit=unit, total=total)