From 87a0ccc354b20d252485362bb9ab2c4ea90b1ecb Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 18 Jun 2015 10:12:04 -0400 Subject: [PATCH] fixed typo --- lib/ansible/plugins/connections/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/connections/__init__.py b/lib/ansible/plugins/connections/__init__.py index 6515f62dcc4..40c7b13e954 100644 --- a/lib/ansible/plugins/connections/__init__.py +++ b/lib/ansible/plugins/connections/__init__.py @@ -130,7 +130,7 @@ class ConnectionBase(with_metaclass(ABCMeta, object)): return self.success_key in output def check_password_prompt(self, output): - if self.prompt in None: + if self.prompt is None: return True elif isinstance(self.prompt, basestring): return output.endswith(self.prompt)