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