Revision b6426ead snf-cyclades-app/synnefo/logic/management/commands/reconcile-pools.py

b/snf-cyclades-app/synnefo/logic/management/commands/reconcile-pools.py
29 29
#
30 30
import logging
31 31
from optparse import make_option
32
from django.core.management.base import BaseCommand
32

  
33 33
from synnefo.logic import reconciliation
34
from snf_django.management.commands import SynnefoCommand
34 35

  
35 36

  
36 37
HELP_MSG = """\
......
46 47
    * Pool of IPv4 addresses for each network"""
47 48

  
48 49

  
49
class Command(BaseCommand):
50
class Command(SynnefoCommand):
50 51
    help = HELP_MSG
51 52

  
52
    option_list = BaseCommand.option_list + (
53
    option_list = SynnefoCommand.option_list + (
53 54
        make_option("--fix", action="store_true",
54 55
                    dest="fix", default=False,
55 56
                    help='Fix all issues.'),

Also available in: Unified diff