]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/qemurunner: Remove resource python warnings
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Nov 2018 16:12:51 +0000 (16:12 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 1 Dec 2018 11:37:49 +0000 (11:37 +0000)
commited80e46ccbc8fe8e9148d80723152066fa00ba28
tree4b5ff8c4986acb70576a5c5b41fd7dce93d4ce25
parent98d113ae52cbbc88773a81a17b0933412a8e463b
oeqa/qemurunner: Remove resource python warnings

If runqemu fails it would leak an unclosed socket and file. Ensure we
close these in all cases to remove the resource warning.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py