fixed styling issues that flake8 didn't like

This commit is contained in:
Philip Ardery 2015-03-14 21:26:11 -04:00
parent 0ede245462
commit 9fcc22c0f2
2 changed files with 7 additions and 6 deletions

View File

@ -638,7 +638,7 @@ class YoutubeDL(object):
# ignore non-familiar links
if c != 'GenericIE' and c != 'MovieStormIE' and ie.suitable(farmed_url):
familiar_farmed_urls.append( [ie, farmed_url] )
familiar_farmed_urls.append([ie, farmed_url])
for tuple in familiar_farmed_urls:
ie = tuple[0]

View File

@ -2,7 +2,6 @@
from __future__ import unicode_literals
import os.path
import re
from time import sleep
from .common import InfoExtractor
@ -12,6 +11,7 @@ from ..compat import (
compat_urlparse
)
class MovieStormHTMLParser(compat_html_parser.HTMLParser):
def __init__(self):
self.found_button = False
@ -46,6 +46,7 @@ class MovieStormHTMLParser(compat_html_parser.HTMLParser):
p.close()
return getattr(p, return_variable)
class MovieStormIE(InfoExtractor):
"""EXTRACTOR INFO:
There are no tests for this IE because the links on any given moviestorm