Ver código fonte

Revert "no need to flush stderr in my tests"

It is actually necessary, for now.

This reverts commit 8fdd1eddf91a3d5dbc013ba6e4a170f8613598c0.

Conflicts:
	borg/helpers.py
Antoine Beaupré 9 anos atrás
pai
commit
e4f325182e
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      borg/helpers.py

+ 1 - 0
borg/helpers.py

@@ -197,6 +197,7 @@ class Statistics:
         else:
             msg = ' ' * columns
         print(msg, file=stream or sys.stderr, end="\r")
+        (stream or sys.stderr).flush()
 
 
 def get_keys_dir():