Don't use deprecated xml style

This commit is contained in:
Tom Christie 2013-02-04 19:51:50 +00:00
parent 2c634c0e5c
commit 97f2b99495

View File

@ -149,7 +149,7 @@ class XMLParser(BaseParser):
convert the xml `element` into the corresponding python object
"""
children = element.getchildren()
children = list(element)
if len(children) == 0:
return self._type_convert(element.text)