diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2008-02-26 17:53:29 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-02-26 17:53:29 +0000 |
commit | 5f4deee606d344af8e8aa7f0b3e07f64e7574b6c (patch) | |
tree | 231950c4ffe603218eebf3a1d17be2554cb505ea /classes | |
parent | bda2ee570244a833a9fa5981b5ab936eb1f7fd26 (diff) |
seppuku.bbclass/tinderclient.bbclass: Use exec_func, not exec_task for clean function
Diffstat (limited to 'classes')
-rw-r--r-- | classes/seppuku.bbclass | 2 | ||||
-rw-r--r-- | classes/tinderclient.bbclass | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/classes/seppuku.bbclass b/classes/seppuku.bbclass index 834bee34b4..2e097a812e 100644 --- a/classes/seppuku.bbclass +++ b/classes/seppuku.bbclass @@ -303,7 +303,7 @@ python seppuku_eventhandler() { if name == "PkgFailed": if not bb.data.getVar('SEPPUKU_AUTOBUILD', data, True) == "0": - build.exec_task('do_clean', data) + build.exec_func('do_clean', data) elif name == "TaskFailed": cj = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass index bc004efb26..0b7fc1d843 100644 --- a/classes/tinderclient.bbclass +++ b/classes/tinderclient.bbclass @@ -328,7 +328,7 @@ def tinder_do_tinder_report(event): log += "<--- TINDERBOX Package %s done (SUCCESS)\n" % data.getVar('PF', event.data, True) elif name == "PkgFailed": if not data.getVar('TINDER_AUTOBUILD', event.data, True) == "0": - build.exec_task('do_clean', event.data) + build.exec_func('do_clean', event.data) log += "<--- TINDERBOX Package %s failed (FAILURE)\n" % data.getVar('PF', event.data, True) status = 200 # remember the failure for the -k case |