Commit c38d7ecd authored by Chris Lamb's avatar Chris Lamb 💬

Don't show progress bar if we passed --debug; it just gets in the way.

parent 5541c765
......@@ -63,9 +63,9 @@ class ProgressManager(object):
if parsed_args.progress:
return True
# ... otherwise show it if STDOUT is a tty
# ... otherwise show it if STDOUT is a tty and we are not debugging
if parsed_args.progress is None:
return sys.stdout.isatty()
return sys.stdout.isatty() and not parsed_args.debug
return False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment