contrib/check-code.py
changeset 25660 328739ea70c3
parent 25659 d60678a567a9
child 25661 20de1ace07a9
--- a/contrib/check-code.py	Tue Jun 23 22:38:21 2015 -0700
+++ b/contrib/check-code.py	Tue Jun 23 22:20:08 2015 -0700
@@ -455,7 +455,7 @@
 
     try:
         fp = open(f)
-    except IOError, e:
+    except IOError as e:
         print "Skipping %s, %s" % (f, str(e).split(':', 1)[0])
         return result
     pre = post = fp.read()