Add support for comments in manifest
This commit is contained in:
parent
6ebb69628f
commit
20af3a4988
@ -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
2
pungi
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user