From 086f03730bf0438c04c49e481b38a0aa97070d01 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Fri, 10 Apr 2015 09:36:55 +0100 Subject: [PATCH] ssh: pep8 fix --- wlauto/utils/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wlauto/utils/ssh.py b/wlauto/utils/ssh.py index dfa2beb3..ee068666 100644 --- a/wlauto/utils/ssh.py +++ b/wlauto/utils/ssh.py @@ -86,7 +86,7 @@ class SshShell(object): default_password_prompt = '[sudo] password' def __init__(self, password_prompt=None, timeout=10): - self.password_prompt = password_prompt if password_prompt is not None else self.default_password_prompt + self.password_prompt = password_prompt if password_prompt is not None else self.default_password_prompt self.timeout = timeout self.conn = None