remove useless _is_coming attribute on transactions

This commit is contained in:
Romain Bignon 2013-07-19 19:20:04 +02:00
commit 7e55f74c40
2 changed files with 1 additions and 10 deletions

View file

@ -17,8 +17,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from itertools import ifilter
from weboob.capabilities.bank import ICapBank
from weboob.tools.backend import BaseBackend, BackendConfig
from weboob.tools.value import ValueBackendPassword
@ -53,8 +51,4 @@ class DelubacBackend(BaseBackend, ICapBank):
def iter_history(self, account, coming=False):
with self.browser:
return ifilter(lambda tr: coming == tr._is_coming,
self.browser.iter_history(account))
#def iter_coming(self, account):
# return self.iter_history(account, coming=True)
return self.browser.iter_history(account)

View file

@ -30,7 +30,6 @@ __all__ = ['LoginPage', 'DashboardPage', 'OperationsPage']
class LoginPage(BasePage):
def login(self, username, password):
self.browser.select_form(name="frmLogin")
self.browser['username'] = username
@ -105,5 +104,3 @@ class Transaction(FrenchTransaction):
FrenchTransaction.TYPE_CHECK),
(re.compile('^RCH (?P<text>.*)'),
FrenchTransaction.TYPE_DEPOSIT)]
_is_coming = False