diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-04-18 09:21:23 +1200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-04-18 09:21:23 +1200 |
commit | d311a9aff8ed5857058045b0bee87536f38a1afc (patch) | |
tree | 8f75712e72ba6d55076dbd6f5191b44b33e9d488 /dupfiles | |
parent | 21e14e7ed7daeb4abf065b200256db765f133eb6 (diff) | |
download | dupfiles-d311a9aff8ed5857058045b0bee87536f38a1afc.tar.gz |
Make progress reporter's .finish() method really flush the output.
Diffstat (limited to 'dupfiles')
-rwxr-xr-x | dupfiles | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -42,6 +42,7 @@ class ProgressReporter(object): self.when = time.time() def finished(self): + self.when = 0 self.write('') |