On Wednesday 02 June 2010, James Antill wrote:

> +def cElementTree_xmlparse(filename):
> +    """ Lazily load/run: cElementTree.xmlparse """

I suppose there's a _cElementTree_import() missing from here, I get 
"AttributeError: 'NoneType' object has no attribute 'parse'".

(While at it, the docstring could be fixed to say .parse instead of 
.xmlparse.)

> +    return __cached_cElementTree.parse(filename)
_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to