actually no password to handle, this should return false
This commit is contained in:
parent
87a0ccc354
commit
7bb2a7aa87
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class ConnectionBase(with_metaclass(ABCMeta, object)):
|
||||||
|
|
||||||
def check_password_prompt(self, output):
|
def check_password_prompt(self, output):
|
||||||
if self.prompt is None:
|
if self.prompt is None:
|
||||||
return True
|
return False
|
||||||
elif isinstance(self.prompt, basestring):
|
elif isinstance(self.prompt, basestring):
|
||||||
return output.endswith(self.prompt)
|
return output.endswith(self.prompt)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue