Download:
child 311:cdd183a85dd1
parent 309:c828dbfa7137
310:d6d9ed9a566d
Anton Shestakov <av6@dwimlabs.net>, Fri, 06 Oct 2017 16:06:44 +0800
viewer: skip failed checks in get_chart_data()

1 файлов изменено, 1 вставок(+), 0 удалений(-) [+]
candolint/handlers.py file | annotate | diff | comparison | revisions
--- a/candolint/handlers.py Tue Oct 03 19:58:24 2017 +0800
+++ b/candolint/handlers.py Fri Oct 06 16:06:44 2017 +0800
@@ -177,6 +177,7 @@
.select(*Check.get_light_fields())
.join(Change)
.where(Check.project == check.project)
+ .where(Check.success == True)
.where(Change.branch == check.change.branch)
.order_by(Check.ordinal.desc()))
more = checks.where(Check.ordinal >= check.ordinal).count()