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
|
|
@ -35,7 +35,7 @@ class WordReferenceBrowser(BaseBrowser):
|
|||
PAGES = {
|
||||
'https?://www\.wordreference\.com/.*/.*': TranslatePage
|
||||
}
|
||||
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
BaseBrowser.__init__(self, *args, **kwargs)
|
||||
|
||||
|
|
|
|||
|
|
@ -53,4 +53,3 @@ class TranslatePage(BasePage):
|
|||
return u''+td.text_content().split(';')[0].strip()
|
||||
if td.attrib.get('class','') == 'roman1':
|
||||
prev_was_roman1 = True
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue