[PATCH] make pkglist work

Jesse Keating <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Organization j2Solutions
Message-ID <[email protected]>
Using -i/--pkglist broke recently.  This patch makes it work again, and
also updates -o to match the pattern set by cachedir option.


-- 
Jesse Keating RHCE      (jkeating.livejournal.com)
Fedora Project          (fedoraproject.org/wiki/JesseKeating)
GPG Public Key          (geek.j2solutions.net/jkeating.j2solutions.pub)

_______________________________________________
Rpm-metadata mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/rpm-metadata
make-pkglist-work.patch (text/x-patch, 773 B)
diff --git a/genpkgmetadata.py b/genpkgmetadata.py
index 22d7931..bc55a09 100755
--- a/genpkgmetadata.py
+++ b/genpkgmetadata.py
@@ -57,8 +57,8 @@ def parseArgs(args, conf):
     parser.add_option("-d", "--database", default=False, action="store_true")
     parser.add_option("--update", default=False, action="store_true")
     parser.add_option("--split", default=False, action="store_true")
-    parser.add_option("-i", "--pkglist", default=False, action="store_true")
-    parser.add_option("-o", "--outputdir", default="")
+    parser.add_option("-i", "--pkglist", default=None)
+    parser.add_option("-o", "--outputdir", default=None)
     parser.add_option("-S", "--skip-symlinks", dest="skip_symlinks",
                       default=False, action="store_true")
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHi+xr4v2HLvE71NURAmV2AKCWq6bAPvzqVSeFWlzV0+da3Rh1nwCgiOci
D4CG3fW2Ru4pr4c5qSkcti4=
=018N
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.