diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-30 18:40:32 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-31 09:51:18 +0000 |
commit | 33f67ee2fc0e5bce5639d75e618371df6fb1b002 (patch) | |
tree | b9b4737104e6535d70186652f4abccba8d29201e /meta/classes/sanity.bbclass | |
parent | b75330e99bf41da1854accaa99ea5cb942367e2b (diff) | |
download | poky-33f67ee2fc0e5bce5639d75e618371df6fb1b002.tar.gz |
classes: Drop Handled/NotHandled eventhandler keywords, they don't do anything
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index e9217f9c0d..46c6ec26e3 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -312,9 +312,8 @@ def check_sanity(e): | |||
312 | 312 | ||
313 | addhandler check_sanity_eventhandler | 313 | addhandler check_sanity_eventhandler |
314 | python check_sanity_eventhandler() { | 314 | python check_sanity_eventhandler() { |
315 | from bb.event import Handled, NotHandled | ||
316 | if bb.event.getName(e) == "ConfigParsed" and bb.data.getVar("BB_WORKERCONTEXT", e.data, True) != "1": | 315 | if bb.event.getName(e) == "ConfigParsed" and bb.data.getVar("BB_WORKERCONTEXT", e.data, True) != "1": |
317 | check_sanity(e) | 316 | check_sanity(e) |
318 | 317 | ||
319 | return NotHandled | 318 | return |
320 | } | 319 | } |