Merge "Fix wrong data type of subnet_availabilities_list"

This commit is contained in:
Jenkins 2016-06-13 08:29:34 +00:00 committed by Gerrit Code Review
commit ab878c4a5b

View File

@ -107,7 +107,7 @@ class DetailView(tables.MultiTableView):
page_title = '{{ network.name | default:network.id }}' page_title = '{{ network.name | default:network.id }}'
def _get_subnet_availability(self, network_id): def _get_subnet_availability(self, network_id):
subnet_availabilities_list = {} subnet_availabilities_list = []
try: try:
availability = api.neutron.\ availability = api.neutron.\
show_network_ip_availability(self.request, network_id) show_network_ip_availability(self.request, network_id)