mirror of https://github.com/borgbackup/borg.git
fix conflict between --stats and --progress
the --stats output would be slightly garbled by --progress, because of the \r that is output at the last line... example: initializing cache reading files cache processing files ------------------------------------------------------------------------------ s/twotone Archive name: 2015-10-15-test
This commit is contained in:
parent
e8cf28f9a0
commit
7f28244cfe
|
@ -181,7 +181,7 @@ class Statistics:
|
|||
format_file_size(self.osize), format_file_size(self.csize), format_file_size(self.usize), self.nfiles, path)
|
||||
else:
|
||||
msg = ' ' * 79
|
||||
print(msg, file=sys.stderr, end='\r')
|
||||
print(msg, file=sys.stderr, end=final and "\n" or "\r")
|
||||
sys.stderr.flush()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue