Make configure.py work with Python. Fixes issue #877.
authorNico Weber <nicolasweber@gmx.de>
Wed, 3 Dec 2014 16:10:44 +0000 (08:10 -0800)
committerNico Weber <nicolasweber@gmx.de>
Wed, 3 Dec 2014 16:11:33 +0000 (08:11 -0800)
Patch from @TheOneRing!

configure.py

index aac4ad4..3cd1e82 100755 (executable)
@@ -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