]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/helpers.py
helpers.log(): run sys.stdout.flush() first.
[bup.git] / lib / bup / helpers.py
index d8d416f49f80aec88988d90c1ea9744f145cc68f..6a9857494343aa8c103976a18caa735b4b705fac 100644 (file)
@@ -19,6 +19,7 @@ def _hard_write(fd, buf):
         buf = buf[sz:]
 
 def log(s):
+    sys.stdout.flush()
     _hard_write(sys.stderr.fileno(), s)