Commit 87a0ccc3 by Brian Coca

fixed typo

parent aede9f08
...@@ -130,7 +130,7 @@ class ConnectionBase(with_metaclass(ABCMeta, object)): ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment