Fix pylint errors

This commit is contained in:
Aditya Kulkarni 2015-10-12 12:13:35 -04:00
parent b597bd31e6
commit 36cc9c7d1c

View File

@ -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: