Revision a3e3917f snf-astakos-app/astakos/im/management/commands/quota.py

b/snf-astakos-app/astakos/im/management/commands/quota.py
33 33

  
34 34
from optparse import make_option
35 35
from django.core.management.base import CommandError
36
from django.db import transaction
36 37

  
37 38
from astakos.im.models import AstakosUser
38 39
from astakos.im.quotas import (
39 40
    qh_sync_users_diffs, list_user_quotas, add_base_quota)
40 41
from astakos.im.functions import get_user_by_uuid
41 42
from astakos.im.management.commands._common import is_uuid, is_email
42
from snf_django.lib.db.transaction import commit_on_success_strict
43 43
from snf_django.management.commands import SynnefoCommand
44 44
from snf_django.management import utils
45 45
from ._common import show_quotas, style_options, check_style, units
......
87 87
                    ),
88 88
    )
89 89

  
90
    @commit_on_success_strict()
90
    @transaction.commit_on_success
91 91
    def handle(self, *args, **options):
92 92
        sync = options['sync']
93 93
        verify = options['verify']

Also available in: Unified diff