]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/utils/commands: Avoid log message duplication
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Nov 2018 13:00:11 +0000 (13:00 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Dec 2018 10:17:51 +0000 (10:17 +0000)
commit018549bf94d1e5d33344691fde0fb27ca50f675f
treeba69b5dd2b35585e1752573b12f17f4f5b2df53c
parent43b7ee731d2cfc3fd4a4c26381c8d035b5fbcdeb
oeqa/utils/commands: Avoid log message duplication

Each time a runqemu() fails, the log handler would be left behind meaning
messages from any subsequent run would be duplicated (or worse/more).

This ensures we remove the handler regardless and means we no longer
have the duplication.

(From OE-Core rev: 532984708436bdfa3a8cac2c684a425eb249bad0)

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