summaryrefslogtreecommitdiffstats
path: root/meta/classes/poky-autobuild-notifier.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-12-30 18:40:32 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-31 09:51:18 +0000
commit33f67ee2fc0e5bce5639d75e618371df6fb1b002 (patch)
treeb9b4737104e6535d70186652f4abccba8d29201e /meta/classes/poky-autobuild-notifier.bbclass
parentb75330e99bf41da1854accaa99ea5cb942367e2b (diff)
downloadpoky-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/poky-autobuild-notifier.bbclass')
-rw-r--r--meta/classes/poky-autobuild-notifier.bbclass6
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):
48addhandler poky_autobuilder_notifier_eventhandler 48addhandler poky_autobuilder_notifier_eventhandler
49python poky_autobuilder_notifier_eventhandler() { 49python poky_autobuilder_notifier_eventhandler() {
50 from bb import note, error, data 50 from bb import note, error, data
51 from bb.event import NotHandled, getName 51 from bb.event import getName
52 52
53 if e.data is None: 53 if e.data is None:
54 return NotHandled 54 return
55 55
56 name = getName(e) 56 name = getName(e)
57 57
58 if name == "TaskFailed": 58 if name == "TaskFailed":
59 do_autobuilder_failure_report(e) 59 do_autobuilder_failure_report(e)
60 60
61 return NotHandled 61 return
62} 62}