summaryrefslogtreecommitdiffstats
path: root/Tools/compiler/regrtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/compiler/regrtest.py')
-rw-r--r--Tools/compiler/regrtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/compiler/regrtest.py b/Tools/compiler/regrtest.py
index 4244d62..d86d746 100644
--- a/Tools/compiler/regrtest.py
+++ b/Tools/compiler/regrtest.py
@@ -42,7 +42,7 @@ def compile_files(dir):
print file,
try:
compileFile(source)
- except SyntaxError, err:
+ except SyntaxError as err:
print err
continue
# make sure the .pyc file is not over-written