From 20af3a498842206bcdf7349f23a4e9f8c43e2e39 Mon Sep 17 00:00:00 2001 From: "jkeating@reducto.boston.redhat.com" <> Date: Thu, 15 Feb 2007 18:17:23 -0500 Subject: [PATCH] Add support for comments in manifest --- Changelog | 1 + pungi | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 9bf3fed1..e63a5293 100644 --- a/Changelog +++ b/Changelog @@ -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 - Add logging patch from jbowes diff --git a/pungi b/pungi index da335d49..6ae03ce1 100755 --- a/pungi +++ b/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