diff options
-rw-r--r-- | classes/seppuku.bbclass | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/classes/seppuku.bbclass b/classes/seppuku.bbclass index a3b8b36dd0..720930fc05 100644 --- a/classes/seppuku.bbclass +++ b/classes/seppuku.bbclass @@ -267,6 +267,13 @@ python seppuku_eventhandler() { from bb import data, mkdirhier, build import bb, os, glob + event = e + data = e.data + name = getName(event) + if name == "MsgNote": + # avoid recursion + return NotHandled + # Try to load our exotic libraries try: import MultipartPostHandler @@ -280,9 +287,6 @@ python seppuku_eventhandler() { bb.note("Failed to import the cookielib and urllib2, make sure to use python2.4") return NotHandled - event = e - data = e.data - name = getName(event) if name == "PkgFailed": if not bb.data.getVar('SEPPUKU_AUTOBUILD', data, True) == "0": build.exec_task('do_clean', data) |