Commits

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

         if not self.dry_run:
             return
         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.