From: Dan Wendlandt Date: Mon, 1 Aug 2011 01:21:59 +0000 (-0700) Subject: removing a few additional lines that aren't needed once we don't calculate port count X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=81c505c630ff55bf0691c6119e38f5dca41cb4b1;p=openstack-build%2Fneutron-build.git removing a few additional lines that aren't needed once we don't calculate port count --- 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']))