1
0
mirror of https://github.com/django/django.git synced 2024-12-24 18:16:19 +00:00

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

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):