From 2405c0bbef998bfe74798e5d969edb705e27d2a7 Mon Sep 17 00:00:00 2001 From: Nathaniel Case Date: Thu, 15 Dec 2016 17:07:19 -0500 Subject: [PATCH] Hopefully clear up some junos issues. (#17616) --- lib/ansible/module_utils/netcli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/netcli.py b/lib/ansible/module_utils/netcli.py index a07c5025718..3771f808880 100644 --- a/lib/ansible/module_utils/netcli.py +++ b/lib/ansible/module_utils/netcli.py @@ -139,7 +139,6 @@ class CommandRunner(object): self._default_output = module.connection.default_output - def add_command(self, command, output=None, prompt=None, response=None, **kwargs): if command in [str(c) for c in self.commands]: @@ -185,6 +184,7 @@ class CommandRunner(object): errmsg = 'One or more conditional statements have not been satisfied' raise FailedConditionsError(errmsg, failed_conditions) + class Conditional(object): """Used in command modules to evaluate waitfor conditions """