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