Commit e1257141 authored by Denis Laxalde's avatar Denis Laxalde
Browse files

Fix missing formatting argument in ValueError message

parent b5a22b9b39cf
......@@ -213,7 +213,8 @@ class CollectionItemMapper(JSONSchemaMapper):
"title" properties.
if schema_role == CREATION_ROLE:
raise ValueError('{} is not appropriate for submission role')
raise ValueError(
'{} is not appropriate for submission role'.format(self))
schema = {
'type': 'object',
'properties': {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment