statement_reconciler: switch to generator expression

This commit is contained in:
Ben Sturmfels 2024-07-18 21:49:08 +10:00
parent 45bc99e9ac
commit 52ea12d4cf
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -834,7 +834,7 @@ def main(
AND date >= {begin_date}
AND date <= {end_date}"""
_, result_rows = run_query(entries, options, query)
books_trans = sort_records([standardize_beancount_record(row) for row in result_rows])
books_trans = sort_records(standardize_beancount_record(row) for row in result_rows)
# Apply two passes of matching, one for standard matches and one
# for subset matches.