summaryrefslogtreecommitdiff
path: root/tools/osxbuild
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-02-27 14:24:35 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-02-27 14:31:12 -0700
commitc6397ba59fba25989b0ba37ad8267325757f1dcd (patch)
tree1501c04214cbf846badc7988de6ff5f2094c9940 /tools/osxbuild
parent208072f817ac14f041569f0123d3434bc9e0daba (diff)
downloadnumpy-c6397ba59fba25989b0ba37ad8267325757f1dcd.tar.gz
2to3: Updata `except Exception, msg:` syntax in files not in numpy/ .
This should finish the updating of the exception syntax.
Diffstat (limited to 'tools/osxbuild')
-rw-r--r--tools/osxbuild/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/osxbuild/build.py b/tools/osxbuild/build.py
index 4c9b8f64c..ef6006fa1 100644
--- a/tools/osxbuild/build.py
+++ b/tools/osxbuild/build.py
@@ -74,7 +74,7 @@ def shellcmd(cmd, verbose=True):
print cmd
try:
subprocess.check_call(cmd, shell=True)
- except subprocess.CalledProcessError, err:
+ except subprocess.CalledProcessError as err:
msg = """
Error while executing a shell command.
%s