mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-15 11:51:02 +00:00
Ignore comment lines in MANIFEST when checking files.
This commit is contained in:
parent
84f6d56a49
commit
1de332a0f2
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue