From 33f67ee2fc0e5bce5639d75e618371df6fb1b002 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 30 Dec 2010 18:40:32 +0000 Subject: classes: Drop Handled/NotHandled eventhandler keywords, they don't do anything Signed-off-by: Richard Purdie --- meta/classes/poky-autobuild-notifier.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/classes/poky-autobuild-notifier.bbclass') 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 } -- cgit v1.2.3