diff --git a/scripts/gendoc.py b/scripts/gendoc.py index e2f51419f..3521efed5 100755 --- a/scripts/gendoc.py +++ b/scripts/gendoc.py @@ -104,7 +104,7 @@ def run_through_template(input): ) except subprocess.CalledProcessError as e: with open(tmpfile, 'r') as f: - print f.read() + sys.stderr.write(f.read() + "\n") raise def prepare_env():