Revision b6426ead snf-cyclades-app/synnefo/logic/management/commands/cyclades-astakos-migrate-013.py
b/snf-cyclades-app/synnefo/logic/management/commands/cyclades-astakos-migrate-013.py | ||
---|---|---|
36 | 36 |
|
37 | 37 |
from optparse import make_option |
38 | 38 |
|
39 |
from django.core.management.base import CommandError, BaseCommand
|
|
39 |
from django.core.management.base import CommandError |
|
40 | 40 |
from django.db import transaction |
41 | 41 |
from django.conf import settings |
42 | 42 |
|
43 |
from snf_django.management.commands import SynnefoCommand |
|
43 | 44 |
from synnefo.api.util import get_existing_users |
44 | 45 |
from synnefo.lib.utils import case_unique |
45 | 46 |
from synnefo.db.models import Network, VirtualMachine |
... | ... | |
90 | 91 |
key.save() |
91 | 92 |
|
92 | 93 |
|
93 |
class Command(BaseCommand):
|
|
94 |
class Command(SynnefoCommand):
|
|
94 | 95 |
help = "Quotas migration helper" |
95 | 96 |
|
96 |
option_list = BaseCommand.option_list + (
|
|
97 |
option_list = SynnefoCommand.option_list + (
|
|
97 | 98 |
make_option('--strict', |
98 | 99 |
dest='strict', |
99 | 100 |
action="store_false", |
Also available in: Unified diff