Fixed #10676 -- Make transaction nop routine used during testing accept any args/kwargs it might be called with. Thanks seanl.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Karen Tracey 2009-03-31 13:04:28 +00:00
parent a018eb45ac
commit 78b5c65844
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ real_leave_transaction_management = transaction.leave_transaction_management
real_savepoint_commit = transaction.savepoint_commit real_savepoint_commit = transaction.savepoint_commit
real_savepoint_rollback = transaction.savepoint_rollback real_savepoint_rollback = transaction.savepoint_rollback
def nop(x=None): def nop(*args, **kwargs):
return return
def disable_transaction_methods(): def disable_transaction_methods():