From 210dbb70c4986540b7ac6c374abb084d87eb3632 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Tue, 15 Mar 2016 19:34:37 -0400 Subject: [PATCH] hideStepIf adjustment, part 2 --- master.cfg | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/master.cfg b/master.cfg index 68ccce2..5d18931 100644 --- a/master.cfg +++ b/master.cfg @@ -575,9 +575,17 @@ class CleanupBreakageLockfile (ShellCommand): def scheduler_is_racy (step): return step.getProperty ('scheduler') == 'racy' +def scheduler_is_racy_hide (result, step): + return scheduler_is_racy (step) +def scheduler_is_racy_do (step): + return scheduler_is_racy (step) -def scheduler_is_not_racy (result, step): +def scheduler_is_not_racy (step): return step.getProperty ('scheduler') != 'racy' +def scheduler_is_not_racy_hide (result, step): + return scheduler_is_not_racy (step) +def scheduler_is_not_racy_do (step): + return scheduler_is_not_racy (step) ####################### #### Build Factory ####