Commits

Marc Abramowitz committed 780045c

Change to using the old exception-catching syntax.
South is still technically compatible down to Python 2.4.

Comments (0)

Files changed (1)

south/db/generic.py

 
         try:
             cursor.execute(sql, params)
-        except DatabaseError as exc:
+        except DatabaseError, e:
             print >> sys.stderr, 'FATAL ERROR - The following SQL query failed: %s' % sql
-            print >> sys.stderr, 'The error was: %s' % exc
+            print >> sys.stderr, 'The error was: %s' % e
             sys.exit(1)
 
         try: