Skip to content

Commit

Permalink
fix(exceptions): rename nometadataformat to nometadataformats (#349)
Browse files Browse the repository at this point in the history
Fixes #346
  • Loading branch information
afuetterer authored Apr 25, 2024
1 parent bad60ff commit 255acb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/oaipmh_scythe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
CannotDisseminateFormat,
GeneralOAIPMHError,
IdDoesNotExist,
NoMetadataFormat,
NoMetadataFormats,
NoRecordsMatch,
NoSetHierarchy,
OAIPMHException,
Expand All @@ -27,7 +27,7 @@
"CannotDisseminateFormat",
"GeneralOAIPMHError",
"IdDoesNotExist",
"NoMetadataFormat",
"NoMetadataFormats",
"NoRecordsMatch",
"NoSetHierarchy",
"OAIPMHException",
Expand Down
2 changes: 1 addition & 1 deletion src/oaipmh_scythe/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class NoSetHierarchy(OAIPMHException):
"""


class NoMetadataFormat(OAIPMHException):
class NoMetadataFormats(OAIPMHException):
"""Exception raised when there are no available metadata formats for the specified item.
Indicates a lack of metadata formats that can be disseminated for the requested item.
Expand Down

0 comments on commit 255acb2

Please sign in to comment.