check_whence: strip quotation marks
Earlier commit added check for duplicate entries. Although the commit
was picked without one of its dependencies which removes the quotation
marks in the File entries.
Since the quotation marks are here to stay, escape them as needed in the
script.
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Fixes: 05183b7b
("check_whence: error on duplicate file entries")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
This commit is contained in:
parent
32693d3b6b
commit
4b539e7a32
|
@ -33,7 +33,7 @@ def list_whence_files():
|
|||
for line in whence:
|
||||
match = re.match(r'File:\s*(.*)', line)
|
||||
if match:
|
||||
yield match.group(1).replace("\ ", " ")
|
||||
yield match.group(1).replace("\ ", " ").replace("\"", "")
|
||||
continue
|
||||
|
||||
def list_git():
|
||||
|
|
Loading…
Reference in New Issue