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
|
|
@ -29,6 +29,7 @@ import re
|
|||
class ReleasePage(Page):
|
||||
''' Page containing releases of a movie
|
||||
'''
|
||||
|
||||
def get_movie_releases(self, country_filter):
|
||||
result = unicode()
|
||||
links = self.parser.select(self.document.getroot(), 'table#release_dates a')
|
||||
|
|
@ -57,6 +58,7 @@ class ReleasePage(Page):
|
|||
class BiographyPage(Page):
|
||||
''' Page containing biography of a person
|
||||
'''
|
||||
|
||||
def get_biography(self):
|
||||
bio = unicode()
|
||||
start = False
|
||||
|
|
@ -74,6 +76,7 @@ class BiographyPage(Page):
|
|||
class MovieCrewPage(Page):
|
||||
''' Page listing all the persons related to a movie
|
||||
'''
|
||||
|
||||
def iter_persons(self, role_filter=None):
|
||||
if (role_filter is None or (role_filter is not None and role_filter == 'actor')):
|
||||
tables = self.parser.select(self.document.getroot(), 'table.cast_list')
|
||||
|
|
@ -130,6 +133,7 @@ class PersonPage(Page):
|
|||
''' Page informing about a person
|
||||
It is used to build a Person instance and to get the movie list related to a person
|
||||
'''
|
||||
|
||||
def get_person(self, id):
|
||||
name = NotAvailable
|
||||
short_biography = NotAvailable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue