From 34734e4c554c09a7faa5f98685261892f337ede4 Mon Sep 17 00:00:00 2001 From: Shuotian Cheng Date: Fri, 26 Apr 2019 15:25:09 -0700 Subject: [PATCH] [minigraph]: Fix bug in copying list in Python (#2831) '=' cannot be used for copying the list Signed-off-by: Shu0T1an ChenG --- src/sonic-config-engine/minigraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sonic-config-engine/minigraph.py b/src/sonic-config-engine/minigraph.py index 5ff350bc8965..9b86d024282f 100644 --- a/src/sonic-config-engine/minigraph.py +++ b/src/sonic-config-engine/minigraph.py @@ -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)