Revision 69dadbe4 snf-cyclades-app/synnefo/api/management/commands/port-create.py
b/snf-cyclades-app/synnefo/api/management/commands/port-create.py | ||
---|---|---|
90 | 90 |
security_groups = options['security-groups'] |
91 | 91 |
|
92 | 92 |
if not name: |
93 |
name=""
|
|
93 |
name = ""
|
|
94 | 94 |
|
95 | 95 |
if (server and router) or not (server or router): |
96 | 96 |
raise CommandError('Please give either a server or a router id') |
Also available in: Unified diff