def start(self): if self.condProp is not None: value = self.condDefault matched = False if self.build.getProperties().has_key(self.condProp): value = self.build.getProperty(self.condProp) elif self.condDefault is None: # no value and no default, assume we want to execute matched = True if not matched: if self.condValue is None: matched = bool(value) else: matched = (value == self.condValue) if self.condInvert: matched = not matched if not matched: return SKIPPED SetProperty.start(self)