diff options
Diffstat (limited to 'GPL/traffic_scripts/send_ip_check_headers.py')
-rw-r--r-- | GPL/traffic_scripts/send_ip_check_headers.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/GPL/traffic_scripts/send_ip_check_headers.py b/GPL/traffic_scripts/send_ip_check_headers.py index 0ecebbe398..be1f7f045a 100644 --- a/GPL/traffic_scripts/send_ip_check_headers.py +++ b/GPL/traffic_scripts/send_ip_check_headers.py @@ -49,7 +49,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) @@ -65,7 +64,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) |