Revision 9621c777 snf-cyclades-app/synnefo/api/management/commands/flavor-create.py
b/snf-cyclades-app/synnefo/api/management/commands/flavor-create.py | ||
---|---|---|
44 | 44 |
"<ram>[,<ram>,...] " \ |
45 | 45 |
"<disk>[,<disk>,...] " \ |
46 | 46 |
"<disk template>[,<disk template>,...]" |
47 |
help = "Create one or more flavors.\n\nThe flavors that will be created are"\ |
|
47 |
help = "Create one or more flavors.\n\n"\ |
|
48 |
" The flavors that will be created are"\ |
|
48 | 49 |
" those belonging to the cartesian product of the arguments"\ |
49 | 50 |
|
51 |
|
|
50 | 52 |
def handle(self, *args, **options): |
51 | 53 |
if len(args) != 4: |
52 | 54 |
raise CommandError("Invalid number of arguments") |
Also available in: Unified diff