create-filelist: add '.' to png and jpg

Brown paper bag fix for previous commit. Sigh.
This commit is contained in:
Adam Williamson 2016-11-19 15:53:42 -08:00
parent 6fa8dbfcf2
commit 3d9840d867

View file

@ -112,7 +112,7 @@ def main():
# opts.filelist.write(entry.path + '\n')
print(entry.path, file=opts.filelist)
# write to filtered list if appropriate
skips = ('.rpm', '.drpm', '.dtb', '.html', 'png', 'jpg')
skips = ('.rpm', '.drpm', '.dtb', '.html', '.png', '.jpg')
if not any(entry.path.endswith(skip) for skip in skips) and not (entry.is_dir()):
print(entry.path, file=opts.filterlist)
if entry.name in opts.checksum_files: