aboutsummaryrefslogtreecommitdiffstats
path: root/GPL/traffic_scripts/lisp
diff options
context:
space:
mode:
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, 0 insertions, 4 deletions
diff --git a/GPL/traffic_scripts/lisp/lisp_check.py b/GPL/traffic_scripts/lisp/lisp_check.py
index c388348b3b..bfe8990e1c 100644
--- a/GPL/traffic_scripts/lisp/lisp_check.py
+++ b/GPL/traffic_scripts/lisp/lisp_check.py
@@ -73,7 +73,6 @@ def valid_ipv4(ip_address):
:type ip_address: str
:returns: True if IP address is correct.
:rtype: bool
- :raises AttributeError, AddressValueError: If IP address is not valid.
"""
try:
ipaddress.IPv4Address(ip_address)
@@ -89,7 +88,6 @@ def valid_ipv6(ip_address):
:type ip_address: str
:returns: True if IP address is correct.
:rtype: bool
- :raises AttributeError, AddressValueError: If IP address is not valid.
"""
try:
ipaddress.IPv6Address(ip_address)
diff --git a/GPL/traffic_scripts/lisp/lispgpe_check.py b/GPL/traffic_scripts/lisp/lispgpe_check.py
index f8fa595867..85c85885f6 100644
--- a/GPL/traffic_scripts/lisp/lispgpe_check.py
+++ b/GPL/traffic_scripts/lisp/lispgpe_check.py
@@ -99,7 +99,6 @@ def valid_ipv4(ip_address):
:type ip_address: str
:returns: True if IP address is correct.
:rtype: bool
- :raises AttributeError, AddressValueError: If IP address is not valid.
"""
try:
ipaddress.IPv4Address(ip_address)
@@ -115,7 +114,6 @@ def valid_ipv6(ip_address):
:type ip_address: str
:returns: True if IP address is correct.
:rtype: bool
- :raises AttributeError, AddressValueError: If IP address is not valid.
"""
try:
ipaddress.IPv6Address(ip_address)