Revision a6d167c1 snf-astakos-app/astakos/im/management/commands/reconcile-resources-astakos.py

b/snf-astakos-app/astakos/im/management/commands/reconcile-resources-astakos.py
34 34
from optparse import make_option
35 35
from datetime import datetime
36 36

  
37
from django.core.management.base import BaseCommand, CommandError
37
from snf_django.management.commands import SynnefoCommand, CommandError
38 38
from django.db import transaction
39 39

  
40 40
from snf_django.utils import reconcile
......
46 46
import astakos.quotaholder_app.exception as qh_exception
47 47

  
48 48

  
49
class Command(BaseCommand):
49
class Command(SynnefoCommand):
50 50
    help = """Reconcile resource usage of Quotaholder with Astakos DB.
51 51

  
52 52
    Detect unsynchronized usage between Quotaholder and Astakos DB resources
......
54 54

  
55 55
    """
56 56

  
57
    option_list = BaseCommand.option_list + (
57
    option_list = SynnefoCommand.option_list + (
58 58
        make_option("--userid", dest="userid",
59 59
                    default=None,
60 60
                    help="Reconcile resources only for this user"),

Also available in: Unified diff