This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
from server.families import Families
__families__ = Families()
family = __families__.get_by_surname(path['surname'])
if family:
response.body = {'family': family}
else:
response.code = 404
# vim:filetype=python