pyflakes fixes
This commit is contained in:
parent
c5e68a2c44
commit
3a02f12bdb
5 changed files with 11 additions and 19 deletions
|
|
@ -363,7 +363,7 @@ class AuMBrowser(BaseBrowser):
|
||||||
url = '%simage1.jpg' % base_url
|
url = '%simage1.jpg' % base_url
|
||||||
try:
|
try:
|
||||||
self.openurl(url)
|
self.openurl(url)
|
||||||
except BrowserHTTPNotFound, e:
|
except BrowserHTTPNotFound:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
profile['pictures'].append({'url': url, u'hidden': True, 'id': u'0', 'rating': 0.0})
|
profile['pictures'].append({'url': url, u'hidden': True, 'id': u'0', 'rating': 0.0})
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,8 @@ from weboob.backends.boursorama import pages
|
||||||
from datetime import date
|
from datetime import date
|
||||||
from dateutil.relativedelta import relativedelta
|
from dateutil.relativedelta import relativedelta
|
||||||
|
|
||||||
__all__ = ['boursorama']
|
|
||||||
|
__all__ = ['Boursorama']
|
||||||
|
|
||||||
|
|
||||||
class Boursorama(BaseBrowser):
|
class Boursorama(BaseBrowser):
|
||||||
|
|
|
||||||
|
|
@ -19,14 +19,10 @@
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
import re
|
|
||||||
from datetime import date
|
from datetime import date
|
||||||
|
|
||||||
from weboob.tools.misc import to_unicode
|
|
||||||
|
|
||||||
from weboob.tools.browser import BasePage
|
from weboob.tools.browser import BasePage
|
||||||
from weboob.capabilities.bank import Operation
|
from weboob.capabilities.bank import Operation
|
||||||
from weboob.capabilities.base import NotAvailable
|
|
||||||
|
|
||||||
|
|
||||||
__all__ = ['AccountHistory']
|
__all__ = ['AccountHistory']
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,6 @@
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
import re
|
|
||||||
|
|
||||||
from weboob.capabilities.bank import Account
|
from weboob.capabilities.bank import Account
|
||||||
from weboob.tools.browser import BasePage
|
from weboob.tools.browser import BasePage
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,7 @@
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
from logging import error
|
from weboob.tools.browser import BasePage
|
||||||
|
|
||||||
from weboob.tools.browser import BasePage, BrowserUnavailable
|
|
||||||
from lxml import etree
|
|
||||||
|
|
||||||
|
|
||||||
__all__ = ['LoginPage']
|
__all__ = ['LoginPage']
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue