1. Andrew Godwin
  2. south


charettes  committed 734f65f

Make sure to avoid calling generic.DatabaseOperations.rollback_transaction with an invalid kwarg

  • Participants
  • Parent commits e2b02a8
  • Branches transaction-db-alias

Comments (0)

Files changed (1)

File south/db/generic.py

View file
  • Ignore whitespace
         if not self.dry_run:
         while self.pending_transactions > 0:
-            self.rollback_transaction(using=self.db_alias)
+            self.rollback_transaction()
         if transaction.is_dirty(using=self.db_alias):
             # Force an exception, if we're still in a dirty transaction.
             # This means we are missing a COMMIT/ROLLBACK.