Skip to content

Commit

Permalink
remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-forte-elastic committed Oct 27, 2023
1 parent 16322f9 commit 46c1717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eql/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def get_callback(cls, _, *cidr_matches):
"""Get the callback function with all the masks converted."""
# Python 2 support
if sys.version_info.major == 2:
cidr_networks = [ipaddress.ip_network(unicode(cidr.value, "utf-8"), strict=False) for cidr in cidr_matches] # noqa: F821
cidr_networks = [ipaddress.ip_network(unicode(cidr.value, "utf-8"), strict=False) for cidr in cidr_matches] # noqa: F821
else:
cidr_networks = [ipaddress.ip_network(cidr.value, strict=False) for cidr in cidr_matches]

Expand Down

0 comments on commit 46c1717

Please sign in to comment.