ignore media starting with _

This commit is contained in:
Damien Elmes 2012-05-21 07:51:16 +09:00
parent d9348e72dd
commit 1c5dae84af

View file

@ -161,6 +161,9 @@ If the same name exists, compare checksums."""
if not os.path.isfile(path):
# ignore directories
continue
if file.startswith("_"):
# leading _ says to ignore file
continue
nfile = norm(file)
if nfile not in normrefs:
unused.append(file)