Add support for comments in manifest

This commit is contained in:
jkeating@reducto.boston.redhat.com 2007-02-15 18:17:23 -05:00 committed by Jesse Keating
parent 6ebb69628f
commit 20af3a4988
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
- Various logging tweaks
- Use -d flag in createrepo for sqlite blobs
- Add pydoc stuff to various functions
- Support comments in the package manifest
* Wed Feb 14 2007 Jesse Keating <jkeating@redhat.com>
- Add logging patch from jbowes

2
pungi
View File

@ -172,7 +172,7 @@ if __name__ == '__main__':
print >> sys.stderr, "pungi: No such file:\'%s\'" % manifest
sys.exit(1)
pkglist = [l.strip() for l in manifestfile.readlines()]
pkglist = [l.strip() for l in manifestfile.readlines() if not l.startswith('#')]
manifestfile.close()
return pkglist