server/sqlutils.py
changeset 11035 0fb100e8385b
parent 11034 75d752e6daf7
--- a/server/sqlutils.py	Tue Dec 22 15:35:10 2015 +0100
+++ b/server/sqlutils.py	Fri Dec 18 09:36:58 2015 +0100
@@ -48,6 +48,7 @@
 lgc.USE_MX_DATETIME = False
 SQL_PREFIX = 'cw_'
 
+
 def _run_command(cmd):
     if isinstance(cmd, string_types):
         print(cmd)
@@ -96,7 +97,7 @@
         try:
             # some dbapi modules doesn't accept unicode for sql string
             execute(str(sql))
-        except Exception as err:
+        except Exception:
             if cnx:
                 cnx.rollback()
             failed.append(sql)