Fix the map inconsistency between python2 and python3
Change-Id: I8856255e9dfe1e451c79b7baaa675e60f9401380 Story: 2003432 Task: 24628
This commit is contained in:
parent
c069800adc
commit
ec17063117
|
@ -528,9 +528,9 @@ class InterfacesTab(tabs.TableTab):
|
||||||
i.host_id = host.id
|
i.host_id = host.id
|
||||||
|
|
||||||
port_data = \
|
port_data = \
|
||||||
map(list, list(zip(*[(p.get_port_display_name(),
|
list(map(list, zip(*[(p.get_port_display_name(),
|
||||||
p.neighbours) for p in host.ports if
|
p.neighbours) for p in host.ports if
|
||||||
i.uuid == p.interface_uuid])))
|
i.uuid == p.interface_uuid])))
|
||||||
|
|
||||||
if port_data:
|
if port_data:
|
||||||
# Default interface
|
# Default interface
|
||||||
|
|
Loading…
Reference in New Issue