From a91ad8c4ab2347a9aa6b3a08cc5d0d6f26d5b41b Mon Sep 17 00:00:00 2001 From: Jerome Berthier Date: Wed, 22 May 2019 14:41:23 +0200 Subject: [PATCH] [bnporc] fix regression on enterprise/browser, duplicating transactions Regression introduced by commit f25c39d44aa4cc9103d746f38c1b76369c669e40 --- modules/bnporc/enterprise/browser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bnporc/enterprise/browser.py b/modules/bnporc/enterprise/browser.py index 1d618fcec0..14c5b0e1c6 100644 --- a/modules/bnporc/enterprise/browser.py +++ b/modules/bnporc/enterprise/browser.py @@ -146,8 +146,8 @@ def _iter_history_base(self, account): self.logger.debug('skipping coming %r', transaction.to_dict()) continue history.append(transaction) - for transaction in sorted_transactions(history): - yield transaction + for transaction in sorted_transactions(history): + yield transaction @need_login def iter_coming_operations(self, account): -- GitLab