twister: fixed pylint issues
Fixed import and unused variable warning. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
9318e6c8f7
commit
5725ed8dd1
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue