From 777ca632e614a80c236a69a7e41da15799926dc1 Mon Sep 17 00:00:00 2001 From: Ian Scott Date: Wed, 30 Oct 2024 12:12:31 -0400 Subject: [PATCH] fix(wip): Working on migration problems --- invenio_record_importer_kcworks/record_loader.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/invenio_record_importer_kcworks/record_loader.py b/invenio_record_importer_kcworks/record_loader.py index 7e8494c..935375a 100644 --- a/invenio_record_importer_kcworks/record_loader.py +++ b/invenio_record_importer_kcworks/record_loader.py @@ -252,7 +252,10 @@ def create_invenio_record( ).to_dict() ) recs = published_recs - app.logger.debug(f"published_recs: {pformat(published_recs)}") + app.logger.debug( + f"published_recs: {[p['id'] for p in published_recs]}" + ) + app.logger.debug(f"draft_recs: {[d['id'] for d in draft_recs]}") recs.extend( [ r