Andrew Godwin avatar Andrew Godwin committed dcb4309

Removing a few unused variables.

Comments (0)

Files changed (2)

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
 

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", [
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.