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
|
|
@ -30,6 +30,7 @@ __all__ = ['StationNotFound', 'DeparturesPage']
|
|||
class StationNotFound(UserError):
|
||||
pass
|
||||
|
||||
|
||||
class DeparturesPage(BasePage):
|
||||
def iter_routes(self):
|
||||
try:
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ class RoadmapSearchPage(BasePage):
|
|||
raise RoadmapError('Unable to establish a roadmap with %s time at "%s"' % ('departure' if departure_time else 'arrival', time))
|
||||
self.browser.submit()
|
||||
|
||||
|
||||
class RoadmapPage(BasePage):
|
||||
def get_steps(self):
|
||||
errors = []
|
||||
|
|
@ -95,6 +96,7 @@ class RoadmapPage(BasePage):
|
|||
return datetime.timedelta(hours=int(m.group(1)),
|
||||
minutes=int(m.group(2)))
|
||||
|
||||
|
||||
class RoadmapConfirmPage(RoadmapPage):
|
||||
def select(self, name, num):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue