SOURCES: freevo-xmltv.py.patch (NEW) - new. Fixes working with ele...
Jakub Bogusz
qboosh at pld-linux.org
Tue May 1 18:48:59 CEST 2007
On Tue, May 01, 2007 at 06:43:46PM +0200, blekot wrote:
> +- from cElementTree import ElementTree, Element, SubElement, tostring
> ++ from _elementtree import ElementTree, Element, SubElement, tostring
zgodnie z założeniami to raczej:
from xml.etree.cElementTree import ElementTree, Element, SubElement, tostring
> + except ImportError:
> + from elementtree.ElementTree import ElementTree, Element, SubElement, tostring
a tu ew.
from xml.etree.ElementTree import ElementTree, Element, SubElement, tostring
(ale nie powinno być takiej potrzeby, jeśli zakładamy pythona 2.5)
--
Jakub Bogusz http://qboosh.pl/
More information about the pld-devel-pl
mailing list