summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Freihofer <adrian.freihofer@siemens.com>2019-06-08 09:59:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-08 16:01:41 +0100
commitd6c4039e3f90c78c908807e6b7f5139aa8ac5567 (patch)
treed75dd5f5ebce5eed2b1bba1b36d7eb88b5058108
parent716dff0b2fcf578a01c1aa247df0a4c9697fa9d3 (diff)
downloadpoky-d6c4039e3f90c78c908807e6b7f5139aa8ac5567.tar.gz
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> (From OE-Core rev: 1ea225a86cdee4ed932ede509d3351d5aecae497) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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:
60 self.runqemutime = 120 60 self.runqemutime = 120
61 self.qemu_pidfile = 'pidfile_'+str(os.getpid()) 61 self.qemu_pidfile = 'pidfile_'+str(os.getpid())
62 self.host_dumper = HostDumper(dump_host_cmds, dump_dir) 62 self.host_dumper = HostDumper(dump_host_cmds, dump_dir)
63 self.monitorpipe = None
63 64
64 self.logger = logger 65 self.logger = logger
65 66