Skip to content
Snippets Groups Projects
Commit c38d7ecd authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

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

parent 5541c765
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment