Clean up unused imports and other minor mistakes

This commit is contained in:
Philipp Hagemeister 2013-11-20 06:27:48 +01:00
parent cc13cc0251
commit f3682997d7
16 changed files with 5 additions and 21 deletions

View file

@ -59,7 +59,6 @@ class MTVIE(InfoExtractor):
if '/error_country_block.swf' in metadataXml:
raise ExtractorError(u'This video is not available from your country.', expected=True)
mdoc = xml.etree.ElementTree.fromstring(metadataXml.encode('utf-8'))
renditions = mdoc.findall('.//rendition')
formats = []
for rendition in mdoc.findall('.//rendition'):