removing a few additional lines that aren't needed once we don't calculate port count

This commit is contained in:
Dan Wendlandt 2011-07-31 18:21:59 -07:00
parent b151091a1e
commit 50d4ed7d81

View File

@ -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']))