magic-removal: fixed #1472, removed masking of original exception in transactional decorator

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Georg Bauer 2006-03-07 11:32:08 +00:00
parent 3a88988f9a
commit b1e6e88495
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ def commit_on_success(func):
except Exception, e:
if is_dirty():
rollback()
raise e
raise
else:
if is_dirty():
commit()