]> 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>
Thu, 6 Dec 2018 10:29:09 +0000 (10:29 +0000)
commitbaa8313e492cff8c31633a558792500b10493e9e
tree4519664d1908c7bb32967330cbe17bb7d684acd2
parent600e71ede1977c45fed1958dd5356911e4fcf272
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.

(From OE-Core rev: ed80e46ccbc8fe8e9148d80723152066fa00ba28)

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