Revision a6d167c1 snf-astakos-app/astakos/im/management/commands/group-add.py

b/snf-astakos-app/astakos/im/management/commands/group-add.py
31 31
# interpreted as representing official policies, either expressed
32 32
# or implied, of GRNET S.A.
33 33

  
34
from django.core.management.base import BaseCommand, CommandError
34
from snf_django.management.commands import SynnefoCommand, CommandError
35 35

  
36 36
from astakos.im.models import Group
37 37

  
38 38

  
39
class Command(BaseCommand):
39
class Command(SynnefoCommand):
40 40
    args = "<group name>"
41 41
    help = "Create a group with the given name"
42 42

  
43
    option_list = BaseCommand.option_list + ()
43
    option_list = SynnefoCommand.option_list + ()
44 44

  
45 45
    def handle(self, *args, **options):
46 46
        if len(args) != 1:

Also available in: Unified diff