Revision aab4d540 snf-astakos-app/astakos/im/management/commands/resource_add.py
b/snf-astakos-app/astakos/im/management/commands/resource_add.py | ||
---|---|---|
31 | 31 |
# interpreted as representing official policies, either expressed |
32 | 32 |
# or implied, of GRNET S.A. |
33 | 33 |
|
34 |
import socket |
|
35 |
|
|
36 |
from optparse import make_option |
|
37 |
|
|
38 | 34 |
from django.core.management.base import BaseCommand, CommandError |
39 | 35 |
from django.db.utils import IntegrityError |
40 | 36 |
|
41 |
from astakos.im.models import Resource, ResourceMetadata, Service
|
|
37 |
from astakos.im.models import Resource, Service |
|
42 | 38 |
|
43 | 39 |
class Command(BaseCommand): |
44 | 40 |
args = "<service> <resource> [<key>=<value>...]" |
Also available in: Unified diff