Kaydet (Commit) 728770a5 authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

Fixed #15702 -- Corrected problem in test suite introduced by Python 2.4 changes…

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
üst 3bad2ca4
...@@ -208,7 +208,7 @@ class Transaction(object): ...@@ -208,7 +208,7 @@ class Transaction(object):
@wraps(func) @wraps(func)
def inner(*args, **kwargs): def inner(*args, **kwargs):
with self: with self:
func(*args, **kwargs) return func(*args, **kwargs)
return inner return inner
def _transaction_func(entering, exiting, using): def _transaction_func(entering, exiting, using):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment