diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-10-17 14:16:10 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-10-17 14:16:10 +0300 |
commit | ee5a89c44feb098cc3c75d7310b9af3a55173f29 (patch) | |
tree | d3a9c5cf19d1812bdf8496e96b3a64ea3c022523 | |
parent | 29b77ff7b0b552a920ded12c834a60c496cf806a (diff) | |
download | genbackupdata-ee5a89c44feb098cc3c75d7310b9af3a55173f29.tar.gz |
Fix empty-line-instead-of-progress-reporting bug
-rw-r--r-- | NEWS | 7 | ||||
-rwxr-xr-x | genbackupdata | 1 |
2 files changed, 8 insertions, 0 deletions
@@ -1,6 +1,13 @@ NEWS for genbackupdata ====================== +Version 1.9, released UNRELEASED +-------------------------------- + +* Fix progress reporting to always output something, even if the + program ran very fast. Previously, there would just be an empty + line. + Version 1.8, released 2015-07-14 -------------------------------- diff --git a/genbackupdata b/genbackupdata index 66bdefb..ccbe992 100755 --- a/genbackupdata +++ b/genbackupdata @@ -65,6 +65,7 @@ class GenbackupdataApp(cliapp.Application): n = min(self.settings['file-size'], bytes) self.create_file(n) bytes -= n + self.status.flush() self.status.finish() def create_file(self, bytes): |