def get(self, entry_id): entry_id = int(entry_id) entry = LogEntry.get(entry_id) if not entry: self.send_error(404) self.write(entry.jsonable)