Lines Matching defs:fail
34 def __init__(self, comm, shell=None, fail=True, ns=None, background=False,
75 self.process(terminate=False, fail=fail, timeout=timeout)
77 def process(self, terminate=True, fail=None, timeout=5):
78 if fail is None:
79 fail = not terminate
92 if self.proc.returncode != 0 and fail:
118 def __init__(self, comm, shell=None, fail=None, ns=None, host=None,
121 shell=shell, fail=fail, ns=ns, host=host,
125 self.check_fail = fail
137 return self.process(terminate=terminate, fail=self.check_fail)