twister: fixed pylint issues

Fixed import and unused variable warning.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2020-12-10 09:48:12 -05:00
parent 9318e6c8f7
commit 5725ed8dd1
2 changed files with 3 additions and 1 deletions

View file

@ -125,7 +125,7 @@ def run_sanity_footprint(commit=None, cwd=os.environ.get('ZEPHYR_BASE'),
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
cwd=cwd, shell=True)
output,error=proc.communicate()
output,_ = proc.communicate()
if proc.wait() == 0:
logger.debug(output)
return True

View file

@ -3,6 +3,8 @@
# SPDX-License-Identifier: Apache-2.0
# Zephyr's Sanity Check library
#
# pylint: disable=unused-import
#
# Set of code that other projects can also import to do things on
# Zephyr's sanity check testcases.