server/sources/extlite.py
changeset 8695 358d8bed9626
parent 7815 2a164a9cf81c
child 8900 010a59e12d89
--- a/server/sources/extlite.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/server/sources/extlite.py	Thu Feb 14 15:38:25 2013 +0100
@@ -290,7 +290,7 @@
         try:
             # str(query) to avoid error if it's an unicode string
             cursor.execute(str(query), args)
-        except Exception, ex:
+        except Exception as ex:
             self.critical("sql: %r\n args: %s\ndbms message: %r",
                           query, args, ex.args[0])
             try: