[minigraph]: Fix bug in copying list in Python (#2831)

'=' cannot be used for copying the list

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
This commit is contained in:
Shuotian Cheng 2019-04-26 15:25:09 -07:00 committed by Ying Xie
parent edc8685e1e
commit 34734e4c55

View File

@ -251,7 +251,7 @@ def parse_dpg(dpg, hname):
# Erspan session will be attached to all front panel ports,
# if panel ports is a member port of LAG, should add the LAG
# to acl table instead of the panel ports
acl_intfs = pc_intfs
acl_intfs = pc_intfs[:]
for panel_port in port_alias_map.values():
if panel_port not in intfs_inpc:
acl_intfs.append(panel_port)