Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
09684f9f
Commit
09684f9f
authored
Apr 29, 2013
by
Giorgos Korfiatis
Browse files
Do not log in transaction decorator
parent
322724d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-django-lib/snf_django/lib/db/transaction.py
View file @
09684f9f
...
...
@@ -33,9 +33,6 @@
from
django.db
import
transaction
import
logging
logger
=
logging
.
getLogger
(
__name__
)
def
commit_on_success_strict
(
**
kwargs
):
...
...
@@ -47,7 +44,6 @@ def commit_on_success_strict(**kwargs):
transaction
.
commit
()
return
result
except
BaseException
as
e
:
logger
.
exception
(
e
)
transaction
.
rollback
()
raise
return
inner
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment