diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-11-28 05:47:50 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-11-28 05:47:50 +0100 |
commit | 2a275ab007d6d336b44a6a0cd4fac6783ba63cb8 (patch) | |
tree | 3de733092f553dbf75b4bec25bfe9a1f008013f8 /youtube_dl/utils.py | |
parent | a2e6db365c11d8c9eaaaeb8de53d59add648f978 (diff) |
[zdf] Use _download_xml
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r-- | youtube_dl/utils.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 946e90e93..c486ef8ec 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -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' |