summaryrefslogtreecommitdiff
path: root/meta/classes/poky-autobuild-notifier.bbclass
diff options
context:
space:
mode:
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 24b85c461..9ab3d064e 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
}