[Yum-devel] Re: New plugin: grouppackagetypes
seth vidal
skvidal at fedoraproject.org
Wed May 28 14:16:13 UTC 2008
On Wed, 2008-05-28 at 15:10 +0100, Robin Bowes wrote:
> seth vidal wrote:
>
> > Robin,
> > What broke for you b/t 3.0.5 and 3.2.16? The plugins _should_ work the
> > same.
>
> Seth,
>
> I'm not sure.
>
> The old code was:
>
> def init_hook(conduit):
> parser = conduit.getOptParser()
> parser.add_option('--group-package-types=[types]',
> action='store_true',
It's not very likely that the above worked to get a list of package
types. It's store_true - which shouldn't take options. You sure that's
the one you were using before?
> Are these options listed/documented anywhere?
it's an optparser object. look up optparser in the python docs.
-sv
More information about the Yum-devel
mailing list