From b1e0634c964d81eb6c5d81d69e4f89759302dce3 Mon Sep 17 00:00:00 2001 From: Daniel Walton Date: Mon, 16 May 2016 14:36:17 +0000 Subject: [PATCH] quagga reload failure (Tested on VX) Signed-off-by: Daniel Walton Reviewed-by: Donald Sharp Ticket: CM-10974 ctx_keys needs to be a tuple and not a list but there was one spot where I created a tmp copy of the ctx_keys but failed to convert it to tuple --- tools/quagga-reload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/quagga-reload.py b/tools/quagga-reload.py index 45f579c4e3..27fc3830c6 100755 --- a/tools/quagga-reload.py +++ b/tools/quagga-reload.py @@ -487,7 +487,7 @@ def ignore_delete_re_add_lines(lines_to_add, lines_to_del): swpx_peergroup = "neighbor %s peer-group %s" % (swpx, peergroup) found_add_swpx_interface = line_exist(lines_to_add, ctx_keys, swpx_interface) found_add_swpx_peergroup = line_exist(lines_to_add, ctx_keys, swpx_peergroup) - tmp_ctx_keys = list(ctx_keys) + tmp_ctx_keys = tuple(list(ctx_keys)) if not found_add_swpx_peergroup: tmp_ctx_keys = list(ctx_keys) -- 2.39.5