Commit e1426fe3 authored by Simon McVittie's avatar Simon McVittie

Print diagnostics to stderr, not stdout

Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
parent e89845f5
......@@ -73,7 +73,7 @@ class SnapshotBuilder:
if shell:
cmd = ['sh', '-c', cmd]
print('# {}'.format(cmd))
print('# {}'.format(cmd), file=sys.stderr)
if self.args.really:
if may_fail:
......@@ -95,7 +95,7 @@ class SnapshotBuilder:
if shell:
cmd = ['sh', '-c', cmd]
print('# {}'.format(cmd))
print('# {}'.format(cmd), file=sys.stderr)
if self.args.really:
return subprocess.check_output(cmd, universal_newlines=True)
......
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