Commits

Andrew Godwin committed dcb4309

Removing a few unused variables.

  • Participants
  • Parent commits f5ffe4c

Comments (0)

Files changed (2)

File south/migration.py

         print " ! Migration %s:%s probably doesn't exist." % (get_app_name(app), name)
         print " - Traceback:"
         raise
-    except Exception, e:
+    except Exception:
         print "While loading migration '%s.%s':" % (get_app_name(app), name)
         raise
 

File south/tests/db.py

         Test = db.mock_model(model_name='Test', db_table='test5a',
                              db_tablespace='', pk_field_name='ID',
                              pk_field_type=models.AutoField, pk_field_args=[])
-        cursor = connection.cursor()
         db.start_transaction()
         db.create_table("test5a", [('ID', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True))])
         db.create_table("test5b", [