summaryrefslogtreecommitdiffstats
path: root/Misc/BeOS-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'Misc/BeOS-setup.py')
-rw-r--r--Misc/BeOS-setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/BeOS-setup.py b/Misc/BeOS-setup.py
index 991e608..556ddc5 100644
--- a/Misc/BeOS-setup.py
+++ b/Misc/BeOS-setup.py
@@ -127,7 +127,7 @@ class PyBuildExt(build_ext):
try:
build_ext.build_extension(self, ext)
- except (CCompilerError, DistutilsError), why:
+ except (CCompilerError, DistutilsError) as why:
self.announce('WARNING: building of extension "%s" failed: %s' %
(ext.name, sys.exc_info()[1]))