aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Freihofer <adrian.freihofer@siemens.com>2019-06-08 09:59:45 +0200
committerArmin Kuster <akuster808@gmail.com>2019-06-14 07:05:34 -0700
commit7c604a62356538de660835bd2d3ba26beccd810d (patch)
tree18fdbda7cb7dbac299cfe676f3a5a2577a03c0c4
parent386795d14c23d2e4084563c6234779b90e4d400f (diff)
downloadopenembedded-core-contrib-7c604a62356538de660835bd2d3ba26beccd810d.tar.gz
openembedded-core-contrib-7c604a62356538de660835bd2d3ba26beccd810d.tar.bz2
openembedded-core-contrib-7c604a62356538de660835bd2d3ba26beccd810d.zip
qemurunner: fix undefined variable
While hacking on this I got an Exception. It's better to define variables also in python. Signe:-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 6d2860c106..c16227fc38 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -60,6 +60,7 @@ class QemuRunner:
self.runqemutime = 120
self.qemu_pidfile = 'pidfile_'+str(os.getpid())
self.host_dumper = HostDumper(dump_host_cmds, dump_dir)
+ self.monitorpipe = None
self.logger = logger