diff options
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): | |||
48 | addhandler poky_autobuilder_notifier_eventhandler | 48 | addhandler poky_autobuilder_notifier_eventhandler |
49 | python poky_autobuilder_notifier_eventhandler() { | 49 | python 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 | } |