Fix comparisons to None
Diff checked manually. autopep8 -a -ir -j2 --select=E711 . This required the "agressive" option because it can change code behavior.
This commit is contained in:
parent
7094931c92
commit
e0542c2e4a
14 changed files with 27 additions and 27 deletions
|
|
@ -74,7 +74,7 @@ class ImdbBackend(BaseBackend, ICapCinema):
|
|||
or 'death_date' in fields or 'nationality' in fields\
|
||||
or 'short_biography' in fields or 'roles' in fields\
|
||||
or 'birth_date' in fields or 'thumbnail_url' in fields\
|
||||
or 'gender' in fields or fields == None:
|
||||
or 'gender' in fields or fields is None:
|
||||
per = self.get_person(person.id)
|
||||
person.real_name = per.real_name
|
||||
person.birth_date = per.birth_date
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue