mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-03 21:56:44 +00:00
Merge pull request #3041 from ThomasWaldmann/stderr-flush-1.1
flush json mode progress stderr output (1.1-maint)
This commit is contained in:
commit
3f3aa2405c
1 changed files with 1 additions and 1 deletions
|
@ -1444,7 +1444,7 @@ def output_json(self, *, finished=False, **kwargs):
|
|||
finished=finished,
|
||||
time=time.time(),
|
||||
))
|
||||
print(json.dumps(kwargs), file=sys.stderr)
|
||||
print(json.dumps(kwargs), file=sys.stderr, flush=True)
|
||||
|
||||
def finish(self):
|
||||
if self.json:
|
||||
|
|
Loading…
Reference in a new issue