We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a59d1f4 commit 64a9a01Copy full SHA for 64a9a01
1 file changed
aikido_zen/helpers/ip_matcher/__init__.py
@@ -27,8 +27,6 @@ def has(self, network):
27
if not net or not net.is_valid():
28
return False
29
idx = binary_search_for_insertion_index(net, self.sorted)
30
- if idx < 0:
31
- return False
32
if idx < len(self.sorted) and self.sorted[idx].contains(net):
33
return True
34
if idx - 1 >= 0 and self.sorted[idx - 1].contains(net):
0 commit comments