[Yum-devel] yum-utils repomanage.py patch to OptionParser

seth vidal skvidal at linux.duke.edu
Thu May 18 16:07:55 UTC 2006


On Thu, 2006-05-18 at 11:47 -0400, Nurdin Premji wrote:
> Hi, I've been working on switching repomanager from getops to
> OptionParser and I have a patch.
> 

Thanks for the patch but as it is it makes -o/--old completely
non-functional.

You might want to either:
1. make them target the same option variable destination and have the
last one be the 'right' one
2. look at using an option callback to handle both of them coming in
http://optik.sourceforge.net/doc/1.5/callbacks.html

Thanks for the patch, if you can fix up that one problem I'll be glad to
commit it.

-sv





More information about the Yum-devel mailing list