diff --git a/eql/utils.py b/eql/utils.py index a3131c2..4889116 100644 --- a/eql/utils.py +++ b/eql/utils.py @@ -93,14 +93,14 @@ def str_presenter(dumper, data): def get_ipaddress(ipaddr_string): - """Get an ipaddress ip_address object from a string containing an ipaddress.""" + """Get an ip_address object from a string containing an ip address.""" if py_version == 2: ipaddr_string = ipaddr_string.decode("utf-8") # noqa: F821 return ipaddress.ip_address(ipaddr_string) def get_subnet(cidr_string, strict=False): - """Get an ipaddress ip_network object from a string containing an cidr range.""" + """Get an ip_network object from a string containing an cidr range.""" if py_version == 2: cidr_string = cidr_string.decode("utf-8") # noqa: F821 return ipaddress.ip_network(cidr_string, strict=strict)