[zdf] Use _download_xml

This commit is contained in:
Philipp Hagemeister 2013-11-28 05:47:50 +01:00
parent a2e6db365c
commit 2a275ab007
3 changed files with 6 additions and 10 deletions

View file

@ -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'