[PATCH v1] framework/ssh_connection: fix pylama errors

Juraj Linkeš juraj.linkes at pantheon.tech
Thu Nov 25 11:30:53 CET 2021


Pylama found the following errors:
framework/ssh_connection.py:105: [E] E0602 Undefined variable 'TIMEOUT' [pylint]

Signed-off-by: Juraj Linkeš <juraj.linkes at pantheon.tech>
---
Lijuan, please add additional people to review if needed.
---
 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 8887ec52..680b27d1 100644
--- a/framework/ssh_connection.py
+++ b/framework/ssh_connection.py
@@ -29,7 +29,7 @@
 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-from .settings import USERNAME
+from .settings import TIMEOUT, USERNAME
 from .ssh_pexpect import SSHPexpect
 
 """
-- 
2.20.1



More information about the dts mailing list