hideStepIf adjustment, part 2

This commit is contained in:
Sergio Durigan Junior 2016-03-15 19:34:37 -04:00
parent baeedd0abb
commit 210dbb70c4

View file

@ -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 ####