diff options
author | volpino <fox91@anche.no> | 2012-07-24 08:10:56 +0200 |
---|---|---|
committer | Corentin Chary <corentin.chary@gmail.com> | 2012-07-25 16:53:16 +0200 |
commit | 67654ee0b4da40741e2eb0a6d9c00d823a2031c5 (patch) | |
tree | 51af07662c82f2c53b516ecea0724e0497f89188 /bin | |
parent | euscanwww: From fixture to south data migration (diff) | |
download | euscan-67654ee0b4da40741e2eb0a6d9c00d823a2031c5.tar.gz euscan-67654ee0b4da40741e2eb0a6d9c00d823a2031c5.tar.bz2 euscan-67654ee0b4da40741e2eb0a6d9c00d823a2031c5.zip |
euscan: Progressbar on stderr
Signed-off-by: volpino <fox91@anche.no>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/euscan | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -35,6 +35,7 @@ from euscan import CONFIG, output # Globals isatty = os.environ.get('TERM') != 'dumb' and sys.stdout.isatty() +isatty_stderr = os.environ.get('TERM') != 'dumb' and sys.stderr.isatty() def exit_helper(status): @@ -183,7 +184,7 @@ def parse_args(): CONFIG['nocolor'] = True pp.output.nocolor() elif o in ("-p", "--progress"): - CONFIG['progress'] = isatty + CONFIG['progress'] = isatty_stderr elif o in ("--mirror"): CONFIG['mirror'] = True elif o in ("-i", "--ignore-pre-release"): |