From bc1fea905ed3e56eb3683a64638943ec24a653f2 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 29 Nov 2017 22:06:54 +0100 Subject: Fix: handle never-build pipelines in icktool status --- icktool | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'icktool') diff --git a/icktool b/icktool index 0090b2b..8abac80 100755 --- a/icktool +++ b/icktool @@ -127,6 +127,11 @@ class Icktool(cliapp.Application): for pipeline in pipelines: build = self._get_latest_build( project['project'], pipeline, builds) + if build is None: + build = { + 'build_id': 'never', + 'log': 'none', + } status = self._get_pipeline_status( project['project'], pipeline) row = { -- cgit v1.2.1