yum-presto 0.3.4

Jonathan Dieter jdieter at gmail.com
Fri Apr 6 11:07:19 UTC 2007


On Thu, 2007-04-05 at 14:53 +0200, Tim Lauridsen wrote:
> This error is Python 2.5 related, cElementTree is included in Python 2.5.
> 
> Something like this will make it work in both python 2.4 (FC6) and 
> Python 2.5 (FC7)
> 
> try:
>     from cElementTree import interparse # Python 2.4
> except:
>     from xml.etree.cElementTree  import interparse # Python 2.5
> 
> Tim
> 
If somebody using Rawhide would like to test this and tell me if this at
least keeps presto from crashing yum.

The file you need to edit is /usr/share/presto/prestomdparser.py, and
the line you need to replace is "from cElementTree import interparse".

Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070406/93d1a7aa/attachment.sig>


More information about the fedora-devel-list mailing list