diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-10-11 22:38:30 +0300 | 
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-10-11 22:38:30 +0300 | 
| commit | 63f99a91c8371bb5e03d5dc59d4ec0f197aefc90 (patch) | |
| tree | e93e03f9635cc21fcd99ea1c5d66d6ef94d3bf84 /tools/frr-reload.py | |
| parent | 8bcbee1999176a46cd82b80002e4111c2cdd5084 (diff) | |
tools: Apply black formatting for frr-reload.py
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'tools/frr-reload.py')
| -rwxr-xr-x | tools/frr-reload.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/frr-reload.py b/tools/frr-reload.py index 8bc8bfdd28..7c5d91d4dc 100755 --- a/tools/frr-reload.py +++ b/tools/frr-reload.py @@ -890,7 +890,7 @@ def bgp_remove_neighbor_cfg(lines_to_del, del_nbr_dict):          ):              if ctx_keys[0] in del_nbr_dict:                  for nbr in del_nbr_dict[ctx_keys[0]]: -                    re_nbr_pg = re.search('neighbor (\S+) .*peer-group (\S+)', line) +                    re_nbr_pg = re.search("neighbor (\S+) .*peer-group (\S+)", line)                      nb_exp = "neighbor %s .*" % nbr                      if not re_nbr_pg:                          re_nb = re.search(nb_exp, line) @@ -997,7 +997,7 @@ def delete_move_lines(lines_to_add, lines_to_del):              # 'no neighbor peer [interface] peer-group <>' is in lines_to_del              # copy the neighbor and look for all config removal lines associated              # to neighbor and delete them from the lines_to_del -            re_nbr_pg = re.search('neighbor (\S+) .*peer-group (\S+)', line) +            re_nbr_pg = re.search("neighbor (\S+) .*peer-group (\S+)", line)              if re_nbr_pg:                  if ctx_keys[0] not in del_nbr_dict:                      del_nbr_dict[ctx_keys[0]] = list()  | 
