contrib/import-checker.py
changeset 25660 328739ea70c3
parent 25175 10e6c4b7121b
child 25701 1f88c0f6ff5a
--- a/contrib/import-checker.py	Tue Jun 23 22:38:21 2015 -0700
+++ b/contrib/import-checker.py	Tue Jun 23 22:20:08 2015 -0700
@@ -328,7 +328,7 @@
     for mod in sorted(imports.iterkeys()):
         try:
             checkmod(mod, imports)
-        except CircularImport, e:
+        except CircularImport as e:
             cycle = e.args[0]
             cycles.add(" -> ".join(rotatecycle(cycle)))
     return cycles