We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0251cd1 commit 73467f5Copy full SHA for 73467f5
1 file changed
src/hermes/commands/deposit/invenio.py
@@ -329,7 +329,7 @@ def prepare(self) -> None:
329
)
330
if rec_id is None and rec_meta == {}:
331
rec_id, rec_meta = tmp_rec_id, tmp_rec_meta
332
- elif (tmp_rec_id is not None or tmp_rec_meta != {}) and(rec_id != tmp_rec_id or rec_meta != tmp_rec_meta):
+ elif (tmp_rec_id is not None or tmp_rec_meta != {}) and (rec_id != tmp_rec_id or rec_meta != tmp_rec_meta):
333
# FIXME: Maybe finding different record ids is not fatal?
334
raise HermesValidationError("Found two different record ids or conflicting metadata.")
335
0 commit comments