From e6d60492f3f4364c6b0c97c96468f7b72d2de822 Mon Sep 17 00:00:00 2001 From: Florent Date: Mon, 30 Sep 2013 10:40:22 +0200 Subject: [PATCH] Remove dead code Old code, the url gives now a 404 error --- modules/boursorama/browser.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/modules/boursorama/browser.py b/modules/boursorama/browser.py index 1a5e2b05..174a8bbc 100644 --- a/modules/boursorama/browser.py +++ b/modules/boursorama/browser.py @@ -73,20 +73,6 @@ class Boursorama(BaseBrowser): """ You will receive SMS code but are limited in request per day (around 15)""" ) - def login_mobile(self): - assert isinstance(self.username, basestring) - assert isinstance(self.password, basestring) - - data = {'login': self.username.encode('utf-8'), - 'password': self.password.encode('utf-8'), - 'submit': 'OK', - } - r = self.openurl('https://www.boursorama.com/iphone/logunique.phtml', urllib.urlencode(data)) - - if 'error' in r.geturl(): - raise BrowserIncorrectPassword() - - self.save_response(r) def login(self): assert isinstance(self.device, basestring)