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:
parent
3a88988f9a
commit
b1e6e88495
|
@ -192,7 +192,7 @@ def commit_on_success(func):
|
|||
except Exception, e:
|
||||
if is_dirty():
|
||||
rollback()
|
||||
raise e
|
||||
raise
|
||||
else:
|
||||
if is_dirty():
|
||||
commit()
|
||||
|
|
Loading…
Reference in New Issue