From 9ef76bb8a7aa37015c3fcd6bc8a62325a3aab992 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Mon, 9 Apr 2012 11:24:15 +0200 Subject: [PATCH] fix unused imports/variables --- modules/ing/pages/account_history.py | 1 - weboob/core/scheduler.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ing/pages/account_history.py b/modules/ing/pages/account_history.py index b5795c99..79cfe873 100644 --- a/modules/ing/pages/account_history.py +++ b/modules/ing/pages/account_history.py @@ -24,7 +24,6 @@ from datetime import date from weboob.tools.browser import BasePage from weboob.capabilities.bank import Transaction -from weboob.capabilities.base import NotAvailable from weboob.tools.capabilities.bank.transactions import FrenchTransaction diff --git a/weboob/core/scheduler.py b/weboob/core/scheduler.py index 5236365a..3c19a50e 100644 --- a/weboob/core/scheduler.py +++ b/weboob/core/scheduler.py @@ -49,7 +49,7 @@ class RepeatedTimer(_Timer): while not self.finished.isSet(): try: self.function(*self.args, **self.kwargs) - except Exception, e: + except Exception: # do not stop timer because of an exception print get_backtrace() self.finished.wait(self.interval)