[oe-commits] [openembedded-core] 05/05: utils.bbclass: fix KeyError exception

git at git.openembedded.org git at git.openembedded.org
Fri Aug 24 06:53:43 UTC 2018


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

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

commit 0791c4d39edbedaa493a9fc6aa6e7415f14980bb
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Fri Aug 24 11:46:40 2018 +0800

    utils.bbclass: fix KeyError exception
    
    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 at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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:

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


More information about the Openembedded-commits mailing list