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/poky-autobuild-notifier.bbclass | |
parent | b75330e99bf41da1854accaa99ea5cb942367e2b (diff) | |
download | openembedded-core-33f67ee2fc0e5bce5639d75e618371df6fb1b002.tar.gz openembedded-core-33f67ee2fc0e5bce5639d75e618371df6fb1b002.tar.bz2 openembedded-core-33f67ee2fc0e5bce5639d75e618371df6fb1b002.zip |
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/poky-autobuild-notifier.bbclass')
-rw-r--r-- | meta/classes/poky-autobuild-notifier.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/poky-autobuild-notifier.bbclass b/meta/classes/poky-autobuild-notifier.bbclass index 24b85c4612..9ab3d064ed 100644 --- a/meta/classes/poky-autobuild-notifier.bbclass +++ b/meta/classes/poky-autobuild-notifier.bbclass @@ -48,15 +48,15 @@ def do_autobuilder_failure_report(event): addhandler poky_autobuilder_notifier_eventhandler python poky_autobuilder_notifier_eventhandler() { from bb import note, error, data - from bb.event import NotHandled, getName + from bb.event import getName if e.data is None: - return NotHandled + return name = getName(e) if name == "TaskFailed": do_autobuilder_failure_report(e) - return NotHandled + return } |