When I run frr-reload.py I am seeing this error:
Apr 21 06:23:51 eva frrinit.sh[
3776992]: /usr/lib/frr/frr-reload.py:1094: SyntaxWarning: "is not" with a literal. Did you mean "!="?
Apr 21 06:23:51 eva frrinit.sh[
3776992]: if line is not "exit-vrf":
fix
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
add_exit_vrf = False
if ctx_keys[0].startswith("vrf") and line:
- if line is not "exit-vrf":
+ if line != "exit-vrf":
add_exit_vrf = True
prior_ctx_key = ctx_keys[0]
else: