mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-07 11:13:10 +00:00
fixed typo
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user