generate-asinfo.py: Putting ",country" at the end of the name to respect the shipped asinfo.txt format

This commit is contained in:
Alarig Le Lay 2020-08-01 12:50:08 +02:00
parent f29a39dd49
commit 4de34d5f11
No known key found for this signature in database
GPG Key ID: 7AFE62C6DF8BCDEC

View File

@ -31,4 +31,4 @@ for line in sys.stdin:
if name.startswith('- '): if name.startswith('- '):
name = name[2:] name = name[2:]
print("%s\t%s\t%s\t%s" % (asn,macro,name,country)) print("%s\t%s\t%s,%s\t%s" % (asn,macro,name,country,country))