Revision 495e2be8 snf-cyclades-app/synnefo/api/management/commands/port-create.py

b/snf-cyclades-app/synnefo/api/management/commands/port-create.py
100 100
        security_group_ids = options["security-groups"]
101 101

  
102 102
        if not name:
103
            name = ""
103
            name=""
104 104

  
105 105
        if (server_id and router_id) or not (server_id or router_id):
106 106
            raise CommandError("Please give either a server or a router id")

Also available in: Unified diff