diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-02-27 14:24:35 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-02-27 14:31:12 -0700 |
commit | c6397ba59fba25989b0ba37ad8267325757f1dcd (patch) | |
tree | 1501c04214cbf846badc7988de6ff5f2094c9940 /tools/win32build/prepare_bootstrap.py | |
parent | 208072f817ac14f041569f0123d3434bc9e0daba (diff) | |
download | python-numpy-c6397ba59fba25989b0ba37ad8267325757f1dcd.tar.gz python-numpy-c6397ba59fba25989b0ba37ad8267325757f1dcd.tar.bz2 python-numpy-c6397ba59fba25989b0ba37ad8267325757f1dcd.zip |
2to3: Updata `except Exception, msg:` syntax in files not in numpy/ .
This should finish the updating of the exception syntax.
Diffstat (limited to 'tools/win32build/prepare_bootstrap.py')
-rw-r--r-- | tools/win32build/prepare_bootstrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/win32build/prepare_bootstrap.py b/tools/win32build/prepare_bootstrap.py index 73d1a4b61..f1d8edbfb 100644 --- a/tools/win32build/prepare_bootstrap.py +++ b/tools/win32build/prepare_bootstrap.py @@ -18,7 +18,7 @@ def build_sdist(): os.chdir('../..') cmd = ["python", "setup.py", "sdist", "--format=zip"] subprocess.call(cmd) - except Exception, e: + except Exception as e: raise RuntimeError("Error while executing cmd (%s)" % e) finally: os.chdir(cwd) |