Revision b6426ead snf-cyclades-app/synnefo/logic/management/commands/backend-remove.py
b/snf-cyclades-app/synnefo/logic/management/commands/backend-remove.py | ||
---|---|---|
28 | 28 |
# policies, either expressed or implied, of GRNET S.A. |
29 | 29 |
# |
30 | 30 |
|
31 |
from django.core.management.base import BaseCommand, CommandError |
|
31 |
from django.core.management.base import CommandError |
|
32 |
|
|
33 |
from snf_django.management.commands import SynnefoCommand |
|
32 | 34 |
from synnefo.management import common |
33 | 35 |
from synnefo.logic import backend as backend_mod |
34 | 36 |
from synnefo.db.models import Backend |
... | ... | |
42 | 44 |
non-deleted instances.""" |
43 | 45 |
|
44 | 46 |
|
45 |
class Command(BaseCommand):
|
|
47 |
class Command(SynnefoCommand):
|
|
46 | 48 |
help = HELP_MSG |
47 | 49 |
|
48 | 50 |
def handle(self, *args, **options): |
Also available in: Unified diff