changeset 877a827c069c in modules/marketing_automation:default
details:
https://hg.tryton.org/modules/marketing_automation?cmd=changeset&node=877a827c069c
description:
Replace cursor fetchall by iteration over cursor
issue5817
review335831003
diffstat:
marketing_automation.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 241ec51f4b37 -r 877a827c069c marketing_automation.py
--- a/marketing_automation.py Sat Feb 27 18:16:28 2021 +0100
+++ b/marketing_automation.py Sun Mar 21 16:09:13 2021 +0100
@@ -225,7 +225,7 @@
where=record.scenario == scenario.id)))
records = []
- for id_, in cursor.fetchall():
+ for id_, in cursor:
records.append(
Record(scenario=scenario, record=Model(id_)))