Skip to content

Commit

Permalink
move progress output to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
trehn committed Aug 9, 2017
1 parent b3c4170 commit 1cfec9d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bundlewrap/utils/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,13 +292,13 @@ def progress_show(self):
_("{} (estimate based on progress)").format(format_duration(remaining))
],
])
io.stdout(blue("i"))
io.stderr(blue("i"))
if table:
for line in render_table(table):
io.stdout("{x} {line}".format(x=blue("i"), line=line))
io.stderr("{x} {line}".format(x=blue("i"), line=line))
else:
io.stdout(_("{x} No progress info available at this time.").format(x=blue("i")))
io.stdout(blue("i"))
io.stderr(_("{x} No progress info available at this time.").format(x=blue("i")))
io.stderr(blue("i"))

@clear_formatting
@capture_for_debug_logfile
Expand Down

0 comments on commit 1cfec9d

Please sign in to comment.