check: No progreess output to stderr during archives check

This commit is contained in:
Jonas Borgström 2014-03-04 22:02:35 +01:00
parent 55a26e553f
commit 11c08f412a
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ class ArchiveChecker:
def report_progress(self, msg, error=False):
if error:
self.error_found = True
print(msg, file=sys.stderr)
print(msg, file=sys.stderr if error else sys.stdout)
sys.stderr.flush()
def identify_key(self, repository):