classes: Drop Handled/NotHandled eventhandler keywords, they don't do anything

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2010-12-30 18:40:32 +00:00
parent b75330e99b
commit 33f67ee2fc
4 changed files with 10 additions and 19 deletions

View File

@@ -312,9 +312,8 @@ def check_sanity(e):
addhandler check_sanity_eventhandler
python check_sanity_eventhandler() {
from bb.event import Handled, NotHandled
if bb.event.getName(e) == "ConfigParsed" and bb.data.getVar("BB_WORKERCONTEXT", e.data, True) != "1":
check_sanity(e)
return NotHandled
return
}