mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixed typo
This commit is contained in:
parent
aede9f08db
commit
87a0ccc354
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class ConnectionBase(with_metaclass(ABCMeta, object)):
|
||||||
return self.success_key in output
|
return self.success_key in output
|
||||||
|
|
||||||
def check_password_prompt(self, output):
|
def check_password_prompt(self, output):
|
||||||
if self.prompt in None:
|
if self.prompt is None:
|
||||||
return True
|
return True
|
||||||
elif isinstance(self.prompt, basestring):
|
elif isinstance(self.prompt, basestring):
|
||||||
return output.endswith(self.prompt)
|
return output.endswith(self.prompt)
|
||||||
|
|
Loading…
Add table
Reference in a new issue