pipeline show command: ignore stage if command is not defined

This commit is contained in:
Ivan Shcheklein
2019-06-23 13:58:42 -07:00
parent 2a4d6229b1
commit c0a06d2ceb
+2
View File
@@ -29,6 +29,8 @@ class CmdPipelineShow(CmdBase):
for n in nodes:
if commands:
if stages[n].cmd is None:
continue
logger.info(stages[n].cmd)
elif outs:
for out in stages[n].outs: