--- 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()