[oe-commits] [openembedded-core] 14/16: qemurunner: fix undefined variable

git at git.openembedded.org git at git.openembedded.org
Sat Jun 8 09:27:03 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 91da39c6de414334f7031a712e68e41a1f3bc0be
Author: Adrian Freihofer <adrian.freihofer at siemens.com>
AuthorDate: Sat Jun 8 09:59:45 2019 +0200

    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 at siemens.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oeqa/utils/qemurunner.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 6d2860c..c16227f 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
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list