mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix pylint errors
This commit is contained in:
parent
6553d135d0
commit
c02ec8b943
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ class SSHConnection(object):
|
|||
password='password',
|
||||
host='localhost',
|
||||
key_accept=False,
|
||||
prompt='\(Cmd\)',
|
||||
prompt=r'(Cmd)',
|
||||
passwd_retries=3,
|
||||
linesep=os.linesep):
|
||||
'''
|
||||
|
@ -115,7 +115,7 @@ class SSHConnection(object):
|
|||
# saw_prompt = False
|
||||
ret_stdout = []
|
||||
ret_stderr = []
|
||||
while(self.conn.has_unread_data):
|
||||
while self.conn.has_unread_data:
|
||||
stdout, stderr = self.conn.recv()
|
||||
|
||||
if stdout:
|
||||
|
|
Loading…
Add table
Reference in a new issue