--- a/candolint/handlers.py Tue Aug 23 00:58:23 2016 +0800
+++ b/candolint/handlers.py Tue Aug 23 01:33:56 2016 +0800
class IndexHandler(BaseHandler):
- .select(Project, Change, *Check.get_light_fields())
- .group_by(Check.project))
+ .select(Project, Change, *Check.get_light_fields())
+ .group_by(Check.project))
self.render('index.html', checks=checks)
def get(self, domain, user, name):
project = get_project_or_404(domain, user, name)
- .select(Change, *Check.get_light_fields())
- .where(Check.project == project)
+ .select(Change, *Check.get_light_fields())
+ .where(Check.project == project)
self.render('project.html', project=project, checks=checks)