[oe-commits] [openembedded-core] 02/02: oeqa/qemurunner: Fix cmdline variable use before reference
git at git.openembedded.org
git at git.openembedded.org
Tue Dec 3 18:37:01 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 54bd68bf2a9b0d02ebea6cd39581a9b2af3c01a4
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Nov 29 17:42:48 2019 +0000
oeqa/qemurunner: Fix cmdline variable use before reference
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/utils/qemurunner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index c025eb0..60e1cf8 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -242,8 +242,8 @@ class QemuRunner:
self.logger.debug("qemu started in %s seconds - qemu procces pid is %s (%s)" %
(time.time() - (endtime - self.runqemutime),
self.qemupid, time.strftime("%D %H:%M:%S")))
+ cmdline = ''
if get_ip:
- cmdline = ''
with open('/proc/%s/cmdline' % self.qemupid) as p:
cmdline = p.read()
# It is needed to sanitize the data received
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list