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:
Laurent Bachelier 2013-03-15 20:01:49 +01:00
commit 7094931c92
231 changed files with 474 additions and 67 deletions

View file

@ -20,6 +20,7 @@
from weboob.tools.browser import BasePage
class DLFPPage(BasePage):
def is_logged(self):
for form in self.document.getiterator('form'):
@ -28,6 +29,7 @@ class DLFPPage(BasePage):
return True
class IndexPage(DLFPPage):
def get_login_token(self):
form = self.parser.select(self.document.getroot(), 'form#new_account_sidebar', 1)
@ -35,5 +37,6 @@ class IndexPage(DLFPPage):
if i.attrib['name'] == 'authenticity_token':
return i.attrib['value']
class LoginPage(DLFPPage):
pass