Revision 8c911970 snf-cyclades-app/synnefo/plankton/management/commands/image-list.py
b/snf-cyclades-app/synnefo/plankton/management/commands/image-list.py | ||
---|---|---|
28 | 28 |
# policies, either expressed or implied, of GRNET S.A. |
29 | 29 |
# |
30 | 30 |
|
31 |
from django.core.management.base import BaseCommand
|
|
31 |
from snf_django.management.commands import SynnefoCommand
|
|
32 | 32 |
from optparse import make_option |
33 | 33 |
|
34 | 34 |
from snf_django.management.utils import pprint_table |
35 | 35 |
from synnefo.plankton.utils import image_backend |
36 | 36 |
|
37 | 37 |
|
38 |
class Command(BaseCommand):
|
|
38 |
class Command(SynnefoCommand):
|
|
39 | 39 |
help = "List public images or images available to a user." |
40 |
option_list = BaseCommand.option_list + (
|
|
40 |
option_list = SynnefoCommand.option_list + (
|
|
41 | 41 |
make_option( |
42 | 42 |
'--user-id', |
43 | 43 |
dest='userid', |
Also available in: Unified diff