Skip to content

Commit 73467f5

Browse files
author
notactuallyfinn
committed
flake8
1 parent 0251cd1 commit 73467f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hermes/commands/deposit/invenio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def prepare(self) -> None:
329329
)
330330
if rec_id is None and rec_meta == {}:
331331
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):
332+
elif (tmp_rec_id is not None or tmp_rec_meta != {}) and (rec_id != tmp_rec_id or rec_meta != tmp_rec_meta):
333333
# FIXME: Maybe finding different record ids is not fatal?
334334
raise HermesValidationError("Found two different record ids or conflicting metadata.")
335335

0 commit comments

Comments
 (0)