Easy spacing fixes, trailing stuff
Remove useless trailing \ Remove trailing spaces Add missing empty lines autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 . Diff quickly checked.
This commit is contained in:
parent
c21d1f7925
commit
7094931c92
231 changed files with 474 additions and 67 deletions
|
|
@ -87,7 +87,7 @@ class SubtitlesPage(BasePage):
|
|||
traduced_title_words = traduced_title.split()
|
||||
original_title_words = original_title.split()
|
||||
|
||||
# if the pattern is one word and in the title OR if the
|
||||
# if the pattern is one word and in the title OR if the
|
||||
# intersection between pattern and the title is at least 2 words
|
||||
if (len(pattern_words) == 1 and pattern in traduced_title_words) or\
|
||||
(len(pattern_words) == 1 and pattern in original_title_words) or\
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ from weboob.tools.test import BackendTest
|
|||
import urllib
|
||||
from random import choice
|
||||
|
||||
|
||||
class AttilasubTest(BackendTest):
|
||||
BACKEND = 'attilasub'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue