contrib: fix minor typos in makeseeds.py

See #17020
This commit is contained in:
Brian Solon authored and GitHub committed 2019-10-03 14:50:08 -04:00
1 parent 284cd3195a
commit 0b1dcd32bf
1 file changed
+2 -2
+2 -2
View File
@@ -123,7 +123,7 @@ def filtermultiport(ips):
def lookup_asn(net, ip):
'''
Look up the asn for an IP (4 or 6) address by querying cymry.com, or None
Look up the asn for an IP (4 or 6) address by querying cymru.com, or None
if it could not be found.
'''
try:
@@ -187,7 +187,7 @@ def main():
# Skip entries with invalid address.
ips = [ip for ip in ips if ip is not None]
print('%s Skip entries with invalid address' % (ip_stats(ips)), file=sys.stderr)
# Skip duplicattes (in case multiple seeds files were concatenated)
# Skip duplicates (in case multiple seeds files were concatenated)
ips = dedup(ips)
print('%s After removing duplicates' % (ip_stats(ips)), file=sys.stderr)
# Skip entries from suspicious hosts.