[Python-checkins] Tools/importbench: Fix a misplaced stderr= (GH-12690)

Petr Viktorin webhook-mailer at python.org
Fri Apr 5 03:18:33 EDT 2019


https://github.com/python/cpython/commit/2a4ce4387ff3e2b41c474e2b0522c8164162cafb
commit: 2a4ce4387ff3e2b41c474e2b0522c8164162cafb
branch: master
author: Anthony Sottile <asottile at umich.edu>
committer: Petr Viktorin <encukou at gmail.com>
date: 2019-04-05T09:18:19+02:00
summary:

Tools/importbench: Fix a misplaced stderr= (GH-12690)

files:
M Tools/importbench/importbench.py

diff --git a/Tools/importbench/importbench.py b/Tools/importbench/importbench.py
index e2ef75836ed4..6c4a537ad86e 100644
--- a/Tools/importbench/importbench.py
+++ b/Tools/importbench/importbench.py
@@ -183,8 +183,8 @@ def main(import_, options):
                 benchmarks = [b]
                 break
         else:
-            print('Unknown benchmark: {!r}'.format(options.benchmark,
-                  file=sys.stderr))
+            print('Unknown benchmark: {!r}'.format(options.benchmark),
+                  file=sys.stderr)
             sys.exit(1)
     seconds = 1
     seconds_plural = 's' if seconds > 1 else ''



More information about the Python-checkins mailing list