server/__init__.py
changeset 8695 358d8bed9626
parent 8694 d901c36bcfce
child 8755 1f3757ef3762
--- a/server/__init__.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/server/__init__.py	Thu Feb 14 15:38:25 2013 +0100
@@ -183,7 +183,7 @@
         dropsql = sqldropschema(schema, driver)
         try:
             sqlexec(dropsql, execute, pbtitle=_title)
-        except Exception, ex:
+        except Exception as ex:
             print '-> drop failed, skipped (%s).' % ex
             sqlcnx.rollback()
     _title = '-> creating tables '