You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
from server.people import People
|
|
|
|
|
__people__ = People()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
person = __people__.get(int(path['id']))
|
|
|
|
|
if person:
|
|
|
|
|
response.body = {'person': person}
|
|
|
|
|
else:
|
|
|
|
|
response.code = 404
|
|
|
|
|
|
|
|
|
|
# vim:filetype=python
|