Skip to content

Commit

Permalink
🐛 Fix up linting and test bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
dankolbman committed Jan 18, 2018
1 parent ab697c6 commit dc1a006
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dataservice/api/person/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

person_api = Namespace(name='persons', description=description)

from dataservice.api.person.serializers import (
from dataservice.api.person.serializers import ( # noqa
person_fields,
person_list,
person_response
Expand Down Expand Up @@ -103,5 +103,6 @@ def _not_found(self, kf_id):
"""
Temporary helper - will do error handling better later
"""
message = 'person with kf_id \'{}\' not found'.format(kf_id)
return kf_response(code=404,
message='person with kf_id \'{}\' not found'.format(kf_id)), 404
message=message)

0 comments on commit dc1a006

Please sign in to comment.