Ignore comment lines in MANIFEST when checking files.

This commit is contained in:
Bastian Kleineidam 2011-04-10 10:16:11 +02:00
parent 84f6d56a49
commit 1de332a0f2

View file

@ -290,7 +290,7 @@ def check_manifest ():
print '\n*** SOURCE WARNING: The MANIFEST file is missing!'
return
try:
manifest = [l.strip() for l in f.readlines()]
manifest = [l.strip() for l in f.readlines() if not l.startswith('#')]
finally:
f.close()
err = [line for line in manifest if not os.path.exists(line)]