Commit b78c6b78 authored by Baptiste Delpey's avatar Baptiste Delpey Committed by Romain Bignon

[ganassurances] keep get_coming as an iterator

parent 3089244d
...@@ -91,7 +91,7 @@ class GanAssurances(LoginBrowser): ...@@ -91,7 +91,7 @@ class GanAssurances(LoginBrowser):
def get_coming(self, account): def get_coming(self, account):
if account.type == Account.TYPE_LIFE_INSURANCE: if account.type == Account.TYPE_LIFE_INSURANCE:
return [] return iter([])
accounts = self.get_accounts_list() accounts = self.get_accounts_list()
for a in accounts: for a in accounts:
if == if ==
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment