[v1] framework/ssh_connection: fix pylama errors
Checks
Commit Message
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
> -----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
@@ -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
"""