Get rid of dead code
This commit is contained in:
parent
5c01af6bef
commit
10005d65e1
1 changed files with 0 additions and 14 deletions
|
@ -27,20 +27,6 @@ class ResultAccumulator(CallbackBase):
|
|||
self.host_status[result._host.get_name()] = 'failed'
|
||||
|
||||
|
||||
class CallbackModule(CallbackBase):
|
||||
def v2_runner_on_unreachable(self, result):
|
||||
self._display.display("%s down" % result._host.get_name())
|
||||
|
||||
def v2_runner_on_ok(self, result, *args, **kwargs):
|
||||
if result._result.get('stdout', '').strip() == 'none':
|
||||
self._display.display('%s no' % result._host.get_name())
|
||||
else:
|
||||
self._display.display('%s yes' % result._host.get_name())
|
||||
|
||||
def v2_runner_on_failed(self, result, *args, **kwargs):
|
||||
self._display.display('%s: command failed on host' % result._host.get_name())
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
pattern = 'builders'
|
||||
if len(sys.argv) > 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue