Removed old permutations check

This commit is contained in:
secynic 2020-09-15 15:18:25 -05:00
parent 3ffcdafe0d
commit a54f2ba15f

View File

@ -447,11 +447,6 @@ class IPASN:
dns_success = False dns_success = False
for index, lookup_method in enumerate(lookups): for index, lookup_method in enumerate(lookups):
if index > 0 and not asn_methods:
raise ASNRegistryError('ASN registry lookup failed. '
'Permutations not allowed.')
if lookup_method == 'dns': if lookup_method == 'dns':
try: try: