From e9b27dd0739ee801d663f551f41a6ad21f15691c Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Thu, 29 Nov 2012 11:06:25 +0100 Subject: [PATCH] Revert "there are no coming operations with HSBC" This reverts commit 8b95206d51428b3581bcb7a6400fdaf51c44c5ff. --- modules/hsbc/pages/accounts.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/hsbc/pages/accounts.py b/modules/hsbc/pages/accounts.py index 674930bb..91e331e5 100644 --- a/modules/hsbc/pages/accounts.py +++ b/modules/hsbc/pages/accounts.py @@ -80,8 +80,5 @@ class HistoryPage(BasePage): op = Transaction(m.group(1)) op.parse(date=m.group(3), raw=re.sub(u'[ ]+', u' ', m.group(4).replace(u'\n', u' '))) op.set_amount(m.group(5)) - # XXX As coming operations are already considered by account balance, never mark - # them as coming. - #op._coming = (re.match('\d+/\d+/\d+', m.group(2)) is None) - op._coming = False + op._coming = (re.match('\d+/\d+/\d+', m.group(2)) is None) yield op