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 55ca7f0432
commit 81c505c630
1 changed files with 0 additions and 2 deletions

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