From 4fa3d9de6e7702837341ca2bedb881d0c9def255 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Fri, 16 Oct 2015 11:05:53 +0100 Subject: [PATCH] Import pxssh via pexpect Importing it directly causes issues in some environments. --- wlauto/utils/ssh.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wlauto/utils/ssh.py b/wlauto/utils/ssh.py index 836a27ee..afd6dba1 100644 --- a/wlauto/utils/ssh.py +++ b/wlauto/utils/ssh.py @@ -23,8 +23,7 @@ import threading import tempfile import shutil -import pxssh -from pexpect import EOF, TIMEOUT, spawn +from pexpect import EOF, TIMEOUT, spawn, pxssh from wlauto.exceptions import HostError, DeviceError, TimeoutError, ConfigError from wlauto.utils.misc import which, strip_bash_colors, escape_single_quotes, check_output