Skip to content

Commit

Permalink
Remove unused properties
Browse files Browse the repository at this point in the history
Fixes bug 1032502.

Change-Id: I63d86788e004ac371e69c238caf38c64ee398955
  • Loading branch information
Nachi Ueno committed Aug 3, 2012
1 parent eef9c8b commit ff741c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions quantum/api/v2/attributes.py
Expand Up @@ -157,9 +157,7 @@ def convert_to_boolean(data):
'is_visible': True},
'tenant_id': {'allow_post': True, 'allow_put': False,
'required_by_policy': True,
'is_visible': True},
'mac_ranges': {'allow_post': False, 'allow_put': False,
'is_visible': True},
'is_visible': True}
},
'ports': {
'id': {'allow_post': False, 'allow_put': False,
Expand Down
2 changes: 1 addition & 1 deletion quantum/tests/unit/test_api_v2.py
Expand Up @@ -741,7 +741,7 @@ def _view(self, keys, collection, resource):

def test_network(self):
keys = ('id', 'name', 'subnets', 'admin_state_up', 'status',
'tenant_id', 'mac_ranges')
'tenant_id')
self._view(keys, 'networks', 'network')

def test_port(self):
Expand Down

0 comments on commit ff741c2

Please sign in to comment.