From 21852845c0f4bc91b337b160a313883cbcf28c07 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Wed, 9 Feb 2022 12:32:14 +1100 Subject: [PATCH] reconcile: Remove debugging lines. --- conservancy_beancount/reconcile/prototype_amex_reconciler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conservancy_beancount/reconcile/prototype_amex_reconciler.py b/conservancy_beancount/reconcile/prototype_amex_reconciler.py index 6994319..84cd638 100644 --- a/conservancy_beancount/reconcile/prototype_amex_reconciler.py +++ b/conservancy_beancount/reconcile/prototype_amex_reconciler.py @@ -178,11 +178,11 @@ if metadata_to_apply: for filename, line, metadata in sorted(metadata_to_apply): if filename not in files: with open(filename, 'r') as f: - print(f'Opening {filename}.') + # print(f'Opening {filename}.') files[filename] = [0, f.readlines()] # Offset and contents files[filename][1].insert(line + files[filename][0], metadata) files[filename][0] += 1 - print(f'File {filename} offset {files[filename][0]}') + # print(f'File {filename} offset {files[filename][0]}') for filename in files: with open(filename, 'w') as f: f.writelines(files[filename][1])