[Yum-devel] cElementTree

Konstantin Ryabitsev icon at linux.duke.edu
Fri Mar 4 21:48:47 UTC 2005


Okay... a few problems and pokings later... :)

There was some breakage related to the fact that cElementTree returns
all strings as type unicode and not as type str, which is what
sqlitecache.py was expecting when making a query. This is the code that
seems to work for me in yum, see attached mdparser.py and the patch.

Cheers,
-- 
Konstantin ("Icon") Ryabitsev
Duke University Physics Sysadmin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mdparser.py
Type: application/x-python
Size: 6055 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20050304/28c004ec/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sqlitecache-unicode.patch
Type: text/x-patch
Size: 965 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20050304/28c004ec/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20050304/28c004ec/attachment.pgp 


More information about the Yum-devel mailing list