Fixed #15702 -- Corrected problem in test suite introduced by Python 2.4 changes from r15927. Thanks to mk for the report and patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2011-03-28 14:22:48 +00:00
parent 3bad2ca473
commit 728770a5f9
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ class Transaction(object):
@wraps(func)
def inner(*args, **kwargs):
with self:
func(*args, **kwargs)
return func(*args, **kwargs)
return inner
def _transaction_func(entering, exiting, using):