From 81c505c630ff55bf0691c6119e38f5dca41cb4b1 Mon Sep 17 00:00:00 2001 From: Dan Wendlandt Date: Sun, 31 Jul 2011 18:21:59 -0700 Subject: [PATCH] removing a few additional lines that aren't needed once we don't calculate port count --- quantum/api/views/networks.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/quantum/api/views/networks.py b/quantum/api/views/networks.py index 688cbfc47..eaa9901ff 100644 --- a/quantum/api/views/networks.py +++ b/quantum/api/views/networks.py @@ -50,8 +50,6 @@ class ViewBuilder(object): def _build_detail(self, network_data): """Return a detailed model of a network.""" - # net-ports might not be present in response from plugin - ports = network_data.get('net-ports', None) return dict(network=dict(id=network_data['net-id'], name=network_data['net-name'])) -- 2.45.2