]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/target/ssh: don't assume target_dumper is set
authorRoss Burton <ross@burtonini.com>
Tue, 21 Sep 2021 10:56:21 +0000 (11:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Sep 2021 22:44:04 +0000 (23:44 +0100)
commitadd36cf85380bf7dc5339a9d65f951923317440b
tree729399ec68a8e1012f40b2f3bb555f4241200534
parentd7e36d01e87ddf89f76f164a0b7d98f597a53fa5
oeqa/target/ssh: don't assume target_dumper is set

The target_dumper property is only set by the QemuTarget subclass, so
assign a default value and check it isn't None before calling it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/core/target/ssh.py