Commit f45775e8 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

snf_django: Use wraps in transaction decorator

This is to preserve name of called function.
parent 7dbdaacd
......@@ -32,11 +32,13 @@
# or implied, of GRNET S.A.
from functools import wraps
from django.db import transaction
def commit_on_success_strict(**kwargs):
def wrap(func):
def inner(*args, **kwargs):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment