server/sqlutils.py
changeset 10588 fdaa0e4b7eaf
parent 10411 4ee15441f2eb
child 10589 7c23b7de2b8d
--- a/server/sqlutils.py	Fri Sep 11 14:27:34 2015 +0200
+++ b/server/sqlutils.py	Fri Sep 11 14:28:06 2015 +0200
@@ -86,7 +86,7 @@
         try:
             # some dbapi modules doesn't accept unicode for sql string
             execute(str(sql))
-        except Exception, err:
+        except Exception as err:
             if cnx:
                 cnx.rollback()
             failed.append(sql)