[ATrpms-users] yum-plugin-kmdl on EL4 (CentOS4.4)

Grant McChesney grantmc at gmail.com
Mon Dec 18 19:24:07 CET 2006


On 12/18/06, Philip R. Schaffner <Philip.R.Schaffner at nasa.gov> wrote:
> On Mon, 2006-12-18 at 10:41 -0600, Axel Thimm wrote:
> >         n Mon, Dec 18, 2006 at 11:17:11AM -0500, Philip R. Schaffner
> >         wrote:
> >         >     return set(kmdls)
> >         > NameError: global name 'set' is not defined
> >
> >         That's an issue with python 2.3 vs 2.4. Please try the
> >         following patch:
> >
> >         --- /usr/lib/yum-plugins/kmdl.py.org    2006-12-12
> >         00:23:33.000000000 +0100
> >         +++ /usr/lib/yum-plugins/kmdl.py        2006-12-18
> >         17:36:56.000000000 +0100
> >         @@ -21,2 +21,7 @@
> >
> >         +try:
> >         +    set = set
> >         +except:
> >         +    from sets import Set as set
> >         +
> >          import re
>
> That works, thanks.  Does this need a Bugzilla entry?
>
> Phil

I can also confirm this patch works for CentOS 4.4.

Grant



More information about the atrpms-users mailing list