aboutsummaryrefslogtreecommitdiffstats
path: root/GPL/traffic_scripts/lisp
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-10-08 08:54:21 +0000
committerPeter Mikus <pmikus@cisco.com>2021-10-08 11:37:48 +0000
commitbd15bb418bf618ff3055fb25c339778d12c1eaef (patch)
tree175532e95acb25fbae5710f0a4d6d2d03bf784eb /GPL/traffic_scripts/lisp
parent68f8548a9769aa55de77176c58e9e70bd1a88742 (diff)
fix(Pylint): Small fixes
+ Just few obvious one Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I9bbac293a56d6b2943bef03cb3b8943e967dae6b
Diffstat (limited to 'GPL/traffic_scripts/lisp')
-rw-r--r--GPL/traffic_scripts/lisp/lisp_check.py2
-rw-r--r--GPL/traffic_scripts/lisp/lispgpe_check.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/GPL/traffic_scripts/lisp/lisp_check.py b/GPL/traffic_scripts/lisp/lisp_check.py
index 35377b0eb6..6a5e85c869 100644
--- a/GPL/traffic_scripts/lisp/lisp_check.py
+++ b/GPL/traffic_scripts/lisp/lisp_check.py
@@ -156,7 +156,7 @@ def main():
if not isinstance(ip, IPv6):
raise RuntimeError(f"Not an IP packet received {ip!r}")
elif not isinstance(ip, ip_format):
- raise RuntimeError(f"Not an IP packet received {ip!r}")
+ raise RuntimeError(f"Not an IP packet received {ip!r}")
lisp = ether.getlayer(lisp_layer)
if not lisp:
diff --git a/GPL/traffic_scripts/lisp/lispgpe_check.py b/GPL/traffic_scripts/lisp/lispgpe_check.py
index 74740378ea..cffb486cdf 100644
--- a/GPL/traffic_scripts/lisp/lispgpe_check.py
+++ b/GPL/traffic_scripts/lisp/lispgpe_check.py
@@ -177,7 +177,7 @@ def main():
if not isinstance(ip, IPv6):
raise RuntimeError(f"Not an IP packet received {ip!r}")
elif not isinstance(ip, ip_format):
- raise RuntimeError(f"Not an IP packet received {ip!r}")
+ raise RuntimeError(f"Not an IP packet received {ip!r}")
lisp = ether.getlayer(LispGPEHeader).underlayer
if not lisp: