summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-10-17 14:16:10 +0300
committerLars Wirzenius <liw@liw.fi>2015-10-17 14:16:10 +0300
commitee5a89c44feb098cc3c75d7310b9af3a55173f29 (patch)
treed3a9c5cf19d1812bdf8496e96b3a64ea3c022523
parent29b77ff7b0b552a920ded12c834a60c496cf806a (diff)
downloadgenbackupdata-ee5a89c44feb098cc3c75d7310b9af3a55173f29.tar.gz
Fix empty-line-instead-of-progress-reporting bug
-rw-r--r--NEWS7
-rwxr-xr-xgenbackupdata1
2 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a1549af..26a8a7c 100644
--- a/NEWS
+++ b/NEWS
@@ -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):