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 PhpBBPage(BasePage):
def is_logged(self):
return len(self.document.getroot().cssselect('li.icon-register')) == 0
@ -35,5 +36,6 @@ class PhpBBPage(BasePage):
errors.append(div.text.strip())
return ', '.join(errors)
class LoginPage(PhpBBPage):
pass