[dts] [PATCH] framework/ssh_connection: fix a typo

Rami Rosen rami.rosen at intel.com
Mon Feb 5 15:06:22 CET 2018


This trivial patch fixes a typo in framework/ssh_connection.py.

Signed-off-by: Rami Rosen <rami.rosen at intel.com>
---
 framework/ssh_connection.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/ssh_connection.py b/framework/ssh_connection.py
index c265bf7..622ed50 100644
--- a/framework/ssh_connection.py
+++ b/framework/ssh_connection.py
@@ -98,7 +98,7 @@ class SSHConnection(object):
     def check_available(self):
         MAGIC_STR = "DTS_CHECK_SESSION"
         out = self.session.send_command('echo %s' % MAGIC_STR, timeout=0.1)
-        # if not avaiable, try to send ^C and check again
+        # if not available, try to send ^C and check again
         if MAGIC_STR not in out:
             self.logger.info("Try to recover session...")
             self.session.send_command('^C', timeout=TIMEOUT)
-- 
2.14.3



More information about the dts mailing list