mirror of https://github.com/django/django.git
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:
parent
3bad2ca473
commit
728770a5f9
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue