mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-03 03:42:35 +01:00
Updated pylint for v1.5.1
Fixed WA for the latest version of pylint (1.5.1)
This commit is contained in:
@@ -19,6 +19,8 @@ from contextlib import contextmanager
|
||||
from distutils.version import StrictVersion as V
|
||||
|
||||
import serial
|
||||
|
||||
# pylint: disable=ungrouped-imports
|
||||
import pexpect
|
||||
if V(pexpect.__version__) < V('4.0.0'):
|
||||
import fdpexpect # pylint: disable=import-error
|
||||
@@ -118,5 +120,3 @@ def open_serial_connection(timeout, get_conn=False, init_dtr=None, *args, **kwar
|
||||
|
||||
target.close() # Closes the file descriptor used by the conn.
|
||||
del conn
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user