summaryrefslogtreecommitdiff
path: root/tools/win32build/prepare_bootstrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/win32build/prepare_bootstrap.py')
-rw-r--r--tools/win32build/prepare_bootstrap.py2
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)