Disable spinner if --raw-data

This commit is contained in:
Jean-Philippe Ouellet 2017-11-30 06:48:03 -05:00
parent b52371f614
commit 16ae4a64b6
No known key found for this signature in database
GPG Key ID: 4747332C27533622

View File

@ -571,7 +571,7 @@ def main(args=None, app=None):
if col.upper() not in Column.columns:
PropertyColumn(col.lower())
if args.spinner:
if args.spinner and not args.raw_data:
# we need Enterprise Edition™, since it's the only one that detects TTY
# and uses dots if we are redirected somewhere else
spinner = qubesadmin.spinner.QubesSpinnerEnterpriseEdition(sys.stderr)