From e4f325182ed60827e38b3c9e23a72272e46a60a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Fri, 16 Oct 2015 11:21:19 -0400 Subject: [PATCH] Revert "no need to flush stderr in my tests" It is actually necessary, for now. This reverts commit 8fdd1eddf91a3d5dbc013ba6e4a170f8613598c0. Conflicts: borg/helpers.py --- borg/helpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/borg/helpers.py b/borg/helpers.py index a08bbef19..1cad9ec87 100644 --- a/borg/helpers.py +++ b/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():