server/checkintegrity.py
changeset 8695 358d8bed9626
parent 8694 d901c36bcfce
child 8696 0bb18407c053
--- a/server/checkintegrity.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/server/checkintegrity.py	Thu Feb 14 15:38:25 2013 +0100
@@ -285,7 +285,7 @@
             continue
         try:
             cursor = session.system_sql('SELECT eid_from FROM %s_relation;' % rschema)
-        except Exception, ex:
+        except Exception as ex:
             # usually because table doesn't exist
             print 'ERROR', ex
             continue