Skip to content

Commit

Permalink
fix: Fixed handling of no-updates flag
Browse files Browse the repository at this point in the history
  • Loading branch information
monotasker committed Nov 7, 2024
1 parent f0553ff commit 0a5ca1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_record_importer_kcworks/record_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def create_invenio_record(
f" record: {differences['B']}"
)
if no_updates:
raise NoUpdatesError(
raise NoUpdates(
"no_updates flag is set, so not updating existing"
" record with changed metadata..."
)
Expand Down

0 comments on commit 0a5ca1a

Please sign in to comment.