diff options
Diffstat (limited to 'meta/classes/recipe_sanity.bbclass')
-rw-r--r-- | meta/classes/recipe_sanity.bbclass | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/recipe_sanity.bbclass b/meta/classes/recipe_sanity.bbclass index bf378eafc1..8b3a1c9571 100644 --- a/meta/classes/recipe_sanity.bbclass +++ b/meta/classes/recipe_sanity.bbclass | |||
@@ -140,9 +140,6 @@ do_recipe_sanity_all () { | |||
140 | addtask recipe_sanity_all after do_recipe_sanity | 140 | addtask recipe_sanity_all after do_recipe_sanity |
141 | 141 | ||
142 | python recipe_sanity_eh () { | 142 | python recipe_sanity_eh () { |
143 | if bb.event.getName(e) != "ConfigParsed": | ||
144 | return | ||
145 | |||
146 | d = e.data | 143 | d = e.data |
147 | 144 | ||
148 | cfgdata = {} | 145 | cfgdata = {} |
@@ -168,3 +165,4 @@ python recipe_sanity_eh () { | |||
168 | DataSmart.renameVar = myrename | 165 | DataSmart.renameVar = myrename |
169 | } | 166 | } |
170 | addhandler recipe_sanity_eh | 167 | addhandler recipe_sanity_eh |
168 | recipe_sanity_eh[eventmask] = "bb.event.ConfigParsed" | ||