summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-12-03 16:10:44 (GMT)
committerNico Weber <nicolasweber@gmx.de>2014-12-03 16:11:33 (GMT)
commit475918a5130f5eca18266f907adff1036f3199fc (patch)
tree1471a0d7cdf0e035f5c92d2e64e9e66eb1588e41 /configure.py
parentb0e2c5bfecc5ec674f891c75bc7fc19e2b36812d (diff)
downloadNinja-475918a5130f5eca18266f907adff1036f3199fc.zip
Ninja-475918a5130f5eca18266f907adff1036f3199fc.tar.gz
Ninja-475918a5130f5eca18266f907adff1036f3199fc.tar.bz2
Make configure.py work with Python. Fixes issue #877.
Patch from @TheOneRing!
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index aac4ad4..3cd1e82 100755
--- a/configure.py
+++ b/configure.py
@@ -164,7 +164,7 @@ class Bootstrap:
"""Run a subcommand, quietly. Prints the full command on error."""
try:
subprocess.check_call(cmdline, shell=True)
- except subprocess.CalledProcessError, e:
+ except subprocess.CalledProcessError:
print('when running: ', cmdline)
raise