]> granicus.if.org Git - python/commitdiff
Tools/importbench: Fix a misplaced stderr= (GH-12690)
authorAnthony Sottile <asottile@umich.edu>
Fri, 5 Apr 2019 07:18:19 +0000 (00:18 -0700)
committerPetr Viktorin <encukou@gmail.com>
Fri, 5 Apr 2019 07:18:19 +0000 (09:18 +0200)
Tools/importbench/importbench.py

index e2ef75836ed45e5e96d2db6cdeb6c0255cde4770..6c4a537ad86e6c0c5125055998be5fd69486fc83 100644 (file)
@@ -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 ''