Commit eeeeda44 by Alexander Popov

OR needs OptCheck.check() return values

parent bbfddf66
......@@ -45,6 +45,11 @@ class OptCheck:
else:
self.result = 'FAIL: "' + self.state + '"'
if self.result.startswith('OK'):
return True, self.result
else:
return False, self.result
def __repr__(self):
return '{} = {}'.format(self.name, self.state)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment