Merge #17042: contrib: fix minor typos in makeseeds.py

0b1dcd32bf contrib: fix minor typos in makeseeds.py (Brian Solon)

Pull request description:

  Fixes minor typos referenced in #17020

ACKs for top commit:
  laanwj:
    Thanks. ACK 0b1dcd32bf
  practicalswift:
    ACK 0b1dcd32bf

Tree-SHA512: 1b67358790b3e80e9229d42e399d9ddb21e9f9a0989e05fa6851925ef76289d123cbf648944ff2b60e1513c755023ddec3a0dd3b9ad26d3e105d1d88c937f968
This commit is contained in:
MarcoFalke 2019-10-03 16:01:25 -04:00
commit f1f284aa75
No known key found for this signature in database
GPG key ID: D2EA4850E7528B25

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.