allow tabstops as whitespace before input file comments (#2808)

This commit is contained in:
Mike Fährmann
2022-08-11 12:39:19 +02:00
parent 1c89ccb27d
commit 764906e1af

View File

@@ -97,6 +97,8 @@ def parse_inputfile(file, log):
# url
if " #" in line:
line = line.partition(" #")[0]
elif "\t#" in line:
line = line.partition("\t#")[0]
if gconf or lconf:
yield util.ExtendedUrl(line, gconf, lconf)
gconf = []