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

Axel Thimm Axel.Thimm at ATrpms.net
Mon Dec 18 17:41:24 CET 2006


On 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

-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20061218/eb0f58c2/attachment.bin 


More information about the atrpms-users mailing list