Patchwork [1/2] typecheck.bbclass: update per current variable typing code

login
register
mail settings
Submitter Christopher Larson
Date May 10, 2012, 2:40 a.m.
Message ID <1336617615-25713-1-git-send-email-kergoth@gmail.com>
Download mbox | patch
Permalink /patch/27431/
State Accepted
Commit 13fcda4b158ce944d64b22bd5b63ce0f51faad67
Headers show

Comments

Christopher Larson - May 10, 2012, 2:40 a.m.
From: Christopher Larson <chris_larson@mentor.com>

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
 meta/classes/typecheck.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Saul Wold - May 11, 2012, 5:38 p.m.
On 05/09/2012 07:40 PM, Christopher Larson wrote:
> From: Christopher Larson<chris_larson@mentor.com>
>
> Signed-off-by: Christopher Larson<chris_larson@mentor.com>
> ---
>   meta/classes/typecheck.bbclass |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/classes/typecheck.bbclass b/meta/classes/typecheck.bbclass
> index 646cd4e..353532d 100644
> --- a/meta/classes/typecheck.bbclass
> +++ b/meta/classes/typecheck.bbclass
> @@ -7,6 +7,6 @@ python check_types() {
>       if isinstance(e, bb.event.ConfigParsed):
>           for key in e.data.keys():
>               if e.data.getVarFlag(key, "type"):
> -                oe.types.value(key, e.data)
> +                oe.data.typed_value(key, e.data)
>   }
>   addhandler check_types

Merged this into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/classes/typecheck.bbclass b/meta/classes/typecheck.bbclass
index 646cd4e..353532d 100644
--- a/meta/classes/typecheck.bbclass
+++ b/meta/classes/typecheck.bbclass
@@ -7,6 +7,6 @@  python check_types() {
     if isinstance(e, bb.event.ConfigParsed):
         for key in e.data.keys():
             if e.data.getVarFlag(key, "type"):
-                oe.types.value(key, e.data)
+                oe.data.typed_value(key, e.data)
 }
 addhandler check_types