From 728770a5f9bbdcd4131f3a2552666aef54764aba Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 28 Mar 2011 14:22:48 +0000 Subject: [PATCH] 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 --- django/db/transaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):