pep8 blank lines fixes
flake8 --select W391,E302,E301,E304 autopep8 can't fix W391 even though it claims it can. Fixed using a simple custom script.
This commit is contained in:
parent
be2c8bd789
commit
448c06d125
142 changed files with 249 additions and 25 deletions
|
|
@ -28,6 +28,7 @@ from weboob.applications.suboob.suboob import LANGUAGE_CONV
|
|||
class SearchPage(Page):
|
||||
""" Page which contains results as a list of movies
|
||||
"""
|
||||
|
||||
def iter_subtitles(self):
|
||||
tabresults = self.parser.select(self.document.getroot(), 'table#search_results')
|
||||
if len(tabresults) > 0:
|
||||
|
|
@ -49,6 +50,7 @@ class SearchPage(Page):
|
|||
class SubtitlesPage(Page):
|
||||
""" Page which contains several subtitles for a single movie
|
||||
"""
|
||||
|
||||
def iter_subtitles(self):
|
||||
tabresults = self.parser.select(self.document.getroot(), 'table#search_results')
|
||||
if len(tabresults) > 0:
|
||||
|
|
@ -102,6 +104,7 @@ class SubtitlesPage(Page):
|
|||
class SubtitlePage(Page):
|
||||
""" Page which contains a single subtitle for a movie
|
||||
"""
|
||||
|
||||
def get_subtitle(self):
|
||||
desc = NotAvailable
|
||||
a = self.parser.select(self.document.getroot(), 'a#bt-dwl', 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue