summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/fixps.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/fixps.py')
-rwxr-xr-xTools/scripts/fixps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/fixps.py b/Tools/scripts/fixps.py
index 2ff15f4..c858e59 100755
--- a/Tools/scripts/fixps.py
+++ b/Tools/scripts/fixps.py
@@ -11,7 +11,7 @@ def main():
for filename in sys.argv[1:]:
try:
f = open(filename, 'r')
- except IOError, msg:
+ except IOError as msg:
print filename, ': can\'t open :', msg
continue
line = f.readline()