introduce Alexandre Lissy

This commit is contained in:
Romain Bignon 2013-08-19 13:02:29 +02:00
commit 86f5444cab
3 changed files with 6 additions and 9 deletions

View file

@ -47,7 +47,7 @@ François Revol <revol@free.fr>
* Canaplus and qvideoob fixes
Benjamin Carton <carton_ben@yahoo.fr>
* 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 <weboob@lampin.net>
Sébastien Monel <sebastien.monel@gmail.com>
* QHandJoob application.
Alexandre Lissy <github@lissy.me>
* JVMalin module maintainer.
Arno Renevier <arno@renevier.net>
* Weather module maintainer.

View file

@ -18,11 +18,7 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
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()

View file

@ -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)))