[Yum-devel] Re: New plugin: grouppackagetypes
Robin Bowes
robin-lists at robinbowes.com
Wed May 28 14:39:14 UTC 2008
seth vidal wrote:
>> 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?
Yes, it was working on 3.0.5 on CentOS 5.1.
>> Are these options listed/documented anywhere?
>
> it's an optparser object. look up optparser in the python docs.
OK, will check it out.
R.
More information about the Yum-devel
mailing list