One-byte typo
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Wed, 6 Nov 2013 17:16:02 +0000 (19:16 +0200)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Wed, 6 Nov 2013 17:16:02 +0000 (19:16 +0200)
kamaki/clients/network/__init__.py

index b5c68c6..30c0946 100644 (file)
@@ -221,7 +221,7 @@ class NetworkClient(NetworkRestClient):
 
     def list_ports(self):
         r = self.ports_get(success=200)
-        return r.json['ports']
+        return r.json['port']
 
     def create_port(
             self, network_id,