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

pull/2827/head
Mike Fährmann 2 years ago
parent 1c89ccb27d
commit 764906e1af
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -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 = []

Loading…
Cancel
Save