From 52ea12d4cf5745b5988a6e619dfaafdb5bcb3dff Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Thu, 18 Jul 2024 21:49:08 +1000 Subject: [PATCH] statement_reconciler: switch to generator expression --- conservancy_beancount/reconcile/statement_reconciler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conservancy_beancount/reconcile/statement_reconciler.py b/conservancy_beancount/reconcile/statement_reconciler.py index d5e2752..67e491a 100644 --- a/conservancy_beancount/reconcile/statement_reconciler.py +++ b/conservancy_beancount/reconcile/statement_reconciler.py @@ -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.