Skip to content

Commit

Permalink
translations: remove redundant f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
anikachurilova authored and kpsherva committed Apr 17, 2023
1 parent d27a36e commit 9ae7f7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions invenio_vocabularies/contrib/funders/datastreams.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ def apply(self, stream_entry, **kwargs):

funder["id"] = normalize_ror(record.get("id"))
if not funder["id"]:
raise TransformerError(_(f"Id not found in ROR entry."))
raise TransformerError(_("Id not found in ROR entry."))

funder["name"] = record.get("name")
if not funder["name"]:
raise TransformerError(_(f"Name not found in ROR entry."))
raise TransformerError(_("Name not found in ROR entry."))

country_code = record.get("country", {}).get("country_code")
if country_code:
Expand Down

0 comments on commit 9ae7f7d

Please sign in to comment.