diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-12-03 16:10:44 (GMT) |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-12-03 16:11:33 (GMT) |
commit | 475918a5130f5eca18266f907adff1036f3199fc (patch) | |
tree | 1471a0d7cdf0e035f5c92d2e64e9e66eb1588e41 | |
parent | b0e2c5bfecc5ec674f891c75bc7fc19e2b36812d (diff) | |
download | Ninja-475918a5130f5eca18266f907adff1036f3199fc.zip Ninja-475918a5130f5eca18266f907adff1036f3199fc.tar.gz Ninja-475918a5130f5eca18266f907adff1036f3199fc.tar.bz2 |
Make configure.py work with Python. Fixes issue #877.
Patch from @TheOneRing!
-rwxr-xr-x | configure.py | 2 |
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 |