Re: [PythonReports-users] PythonReport - deprecation warning on et.getchildren
Brought to you by:
a1s
From: alexander s. <al...@go...> - 2012-12-21 07:17:01
|
On 21.12.2012 9:10, Werner F. Bruhin wrote: > >>> File "c:\Python27\lib\xml\etree\ElementTree.py", line 350, in getchildren >>> DeprecationWarning, stacklevel=2 >>> DeprecationWarning: This method will be removed in future versions. Use >>> 'list(elem)' or iteration over elem instead. >> Right. That's error, and it has to be fixed. > I don't know/see how to fix it. Please try this: http://pythonreports.bzr.sourceforge.net/bzr/pythonreports/revision/236 > Will you report it to ElementTree? No. Best wishes, alex. |