diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-08-12 12:21:17 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-08-12 12:21:17 +0000 |
commit | e5f489c3abc2aece8badb789b0a47bf118134a06 (patch) | |
tree | 105d7f590d4a1d805ecf7998106d941bc9d4977c /classes | |
parent | 1b4c9f6fa0d9a1dfac45d47a54f8490eecee2612 (diff) |
seppuku.bbclass: Avoid recursion problem (#2722)
Diffstat (limited to 'classes')
-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) |