diff --git a/AUTHORS b/AUTHORS index 0ac20c7f..d5893244 100644 --- a/AUTHORS +++ b/AUTHORS @@ -47,7 +47,7 @@ François Revol * Canaplus and qvideoob fixes Benjamin Carton - * vlille, grooveshark, adecco, apec, lolix and popolemploi modules + * vlille, grooveshark, adecco, apec, lolix and popolemploi modules maintainer. * handjoob application. @@ -89,6 +89,9 @@ Christophe Lampin Sébastien Monel * QHandJoob application. +Alexandre Lissy + * JVMalin module maintainer. + Arno Renevier * Weather module maintainer. diff --git a/modules/jvmalin/browser.py b/modules/jvmalin/browser.py index 4db4cd38..bc71152a 100644 --- a/modules/jvmalin/browser.py +++ b/modules/jvmalin/browser.py @@ -18,11 +18,7 @@ # along with weboob. If not, see . -from datetime import datetime, date, time - from weboob.tools.browser import BaseBrowser -from weboob.tools.misc import to_unicode -from weboob.tools.browser import BrokenPageError from .pages import RoadmapSearchPage, RoadmapResultsPage, RoadmapPage, RoadmapAmbiguity @@ -51,7 +47,7 @@ class JVMalin(BaseBrowser): dest = '' try: dest = self.page.find_best() - except RoadmapAmbiguity as am: + except RoadmapAmbiguity: self.page.resubmit_best_form() assert self.is_on_page(RoadmapResultsPage) dest = self.page.find_best() diff --git a/modules/jvmalin/pages.py b/modules/jvmalin/pages.py index 9f441cac..213286c1 100644 --- a/modules/jvmalin/pages.py +++ b/modules/jvmalin/pages.py @@ -22,7 +22,7 @@ class RoadmapSearchPage(BasePage): try: if form.attrs['id'] == 'rech-iti': match = i - except KeyError as e: + except KeyError: pass i += 1 @@ -203,5 +203,3 @@ class RoadmapPage(BasePage): if m: return datetime.timedelta(hours=int(m.group(1)), minutes=int(m.group(2))) - -