Skip to content

Commit

Permalink
Merge pull request #187 from boris-42/fix_get_schema_exc_message
Browse files Browse the repository at this point in the history
Fix get_schema exception message
  • Loading branch information
Rodrigo Martins de Oliveira committed Apr 20, 2018
2 parents c29d35a + 73944c4 commit dc41202
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flasgger/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,8 @@ def get_schema(self, schema_id):
schema_specs = get_schema_specs(schema_id, self)

if schema_specs is None:
raise KeyError('Specified schema_id \'{0}\' not found')
raise KeyError(
'Specified schema_id \'{0}\' not found'.format(schema_id))

for schema in (
parameter.get('schema') for parameter in
Expand Down

0 comments on commit dc41202

Please sign in to comment.