[zdf] Use _download_xml
This commit is contained in:
parent
a2e6db365c
commit
2a275ab007
3 changed files with 6 additions and 10 deletions
|
@ -1009,11 +1009,6 @@ def unsmuggle_url(smug_url):
|
|||
return url, data
|
||||
|
||||
|
||||
def parse_xml_doc(s):
|
||||
assert isinstance(s, type(u''))
|
||||
return xml.etree.ElementTree.fromstring(s.encode('utf-8'))
|
||||
|
||||
|
||||
def format_bytes(bytes):
|
||||
if bytes is None:
|
||||
return u'N/A'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue