From c6397ba59fba25989b0ba37ad8267325757f1dcd Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Wed, 27 Feb 2013 14:24:35 -0700 Subject: 2to3: Updata `except Exception, msg:` syntax in files not in numpy/ . This should finish the updating of the exception syntax. --- tools/win32build/prepare_bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/win32build/prepare_bootstrap.py') 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) -- cgit v1.2.3