mirror of
https://github.com/secynic/ipwhois.git
synced 2025-12-10 00:40:57 -06:00
Removed old permutations check
This commit is contained in:
parent
3ffcdafe0d
commit
a54f2ba15f
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user