Commit 78b5c658 authored by Karen Tracey's avatar Karen Tracey
Browse files

Fixed #10676 -- Make transaction nop routine used during testing accept any...

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
parent a018eb45
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ real_leave_transaction_management = transaction.leave_transaction_management
real_savepoint_commit = transaction.savepoint_commit
real_savepoint_rollback = transaction.savepoint_rollback

def nop(x=None):
def nop(*args, **kwargs):
    return

def disable_transaction_methods():