summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2011-03-28 14:22:48 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2011-03-28 14:22:48 +0000
commit728770a5f9bbdcd4131f3a2552666aef54764aba (patch)
treee989caa8c254724dce6f8d3ff1f252e50796a1f8
parent3bad2ca47304243236fb7f2e36fdadc6e4589a93 (diff)
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
-rw-r--r--django/db/transaction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/transaction.py b/django/db/transaction.py
index a2977beabc..104243a488 100644
--- a/django/db/transaction.py
+++ b/django/db/transaction.py
@@ -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):