Handle long keyid

This commit is contained in:
nemunaire 2021-09-19 15:42:22 +02:00
parent 7002341583
commit 5d2d4ff451

View File

@ -9,10 +9,11 @@ LOGIN_FIELD = 2
EMAILADDR_FIELD = 3 EMAILADDR_FIELD = 3
def check(cnt, file): def check(cnt, *files):
data, uname = cnt data, uname = cnt
username, address = parseaddr(uname) username, address = parseaddr(uname)
for file in files:
with open(file, encoding='utf-8') as fd: with open(file, encoding='utf-8') as fd:
people = csv.reader(fd) people = csv.reader(fd)
for p in people: for p in people: