1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

actually no password to handle, this should return false

This commit is contained in:
Brian Coca 2015-06-18 10:23:37 -04:00
parent 87a0ccc354
commit 7bb2a7aa87

View file

@ -131,7 +131,7 @@ class ConnectionBase(with_metaclass(ABCMeta, object)):
def check_password_prompt(self, output):
if self.prompt is None:
return True
return False
elif isinstance(self.prompt, basestring):
return output.endswith(self.prompt)
else: