[v1] framework/ssh_connection: fix pylama errors

Message ID 1637836253-7727-1-git-send-email-juraj.linkes@pantheon.tech (mailing list archive)
State Accepted
Headers
Series [v1] framework/ssh_connection: fix pylama errors |

Checks

Context Check Description
ci/Intel-dts-suite-test fail Testing issues

Commit Message

Juraj Linkeš Nov. 25, 2021, 10:30 a.m. UTC
  Pylama found the following errors:
framework/ssh_connection.py:105: [E] E0602 Undefined variable 'TIMEOUT' [pylint]

Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
---
Lijuan, please add additional people to review if needed.
---
 framework/ssh_connection.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Tu, Lijuan Jan. 14, 2022, 8:02 a.m. UTC | #1
> -----Original Message-----
> From: Juraj Linkeš <juraj.linkes@pantheon.tech>
> Sent: 2021年11月25日 18:31
> To: Tu, Lijuan <lijuan.tu@intel.com>; ohilyard@iol.unh.edu
> Cc: dts@dpdk.org; Juraj Linkeš <juraj.linkes@pantheon.tech>
> Subject: [PATCH v1] framework/ssh_connection: fix pylama errors
> 
> Pylama found the following errors:
> framework/ssh_connection.py:105: [E] E0602 Undefined variable 'TIMEOUT'
> [pylint]
> 
> Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>

Applied
  

Patch

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
 
 """