* [PATCH 0/1] utils.bbclass: fix KeyError exception
@ 2018-08-24 3:46 Chen Qi
2018-08-24 3:46 ` [PATCH 1/1] " Chen Qi
0 siblings, 1 reply; 3+ messages in thread
From: Chen Qi @ 2018-08-24 3:46 UTC (permalink / raw)
To: openembedded-core
*** BLURB HERE ***
The following changes since commit bd374216048581bcb3ea54d69998342525cf2da5:
util-linux: upgrade 2.32 -> 2.32.1 (2018-08-23 18:02:23 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/keyerror
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/keyerror
Chen Qi (1):
utils.bbclass: fix KeyError exception
meta/classes/utils.bbclass | 1 +
1 file changed, 1 insertion(+)
--
1.9.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] utils.bbclass: fix KeyError exception
2018-08-24 3:46 [PATCH 0/1] utils.bbclass: fix KeyError exception Chen Qi
@ 2018-08-24 3:46 ` Chen Qi
2018-08-24 6:59 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Chen Qi @ 2018-08-24 3:46 UTC (permalink / raw)
To: openembedded-core
The following statement was accidently removed. Add it back.
values['ml'] = ['']
This patch fixes the following error.
Exception: KeyError: 'ml'
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/classes/utils.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index e12e93a..0016e5c 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -360,6 +360,7 @@ def all_multilib_tune_list(vars, d):
values = {}
for v in vars:
values[v] = []
+ values['ml'] = ['']
variants = (d.getVar("MULTILIB_VARIANTS") or "").split() + ['']
for item in variants:
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] utils.bbclass: fix KeyError exception
2018-08-24 3:46 ` [PATCH 1/1] " Chen Qi
@ 2018-08-24 6:59 ` Richard Purdie
0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2018-08-24 6:59 UTC (permalink / raw)
To: Chen Qi, openembedded-core
On Fri, 2018-08-24 at 11:46 +0800, Chen Qi wrote:
> The following statement was accidently removed. Add it back.
>
> values['ml'] = ['']
>
> This patch fixes the following error.
>
> Exception: KeyError: 'ml'
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
> meta/classes/utils.bbclass | 1 +
> 1 file changed, 1 insertion(+)
Thanks, it was quite nice to wake up and find someone had fixed the bug
I'd accidentally introduced! :)
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-08-24 6:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-24 3:46 [PATCH 0/1] utils.bbclass: fix KeyError exception Chen Qi
2018-08-24 3:46 ` [PATCH 1/1] " Chen Qi
2018-08-24 6:59 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.