From e8877cb8958dc6f62b67cb091f977f8ac4b1eba0 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Fri, 18 Aug 2006 10:08:19 +0000 Subject: classes/tinderclient.bbclass: Fix the getVar invocation and the test... --- classes/tinderclient.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass index 2f4d62b789..1c8079ebc9 100644 --- a/classes/tinderclient.bbclass +++ b/classes/tinderclient.bbclass @@ -315,7 +315,7 @@ def tinder_do_tinder_report(event): elif name == "PkgSucceeded": log += "<--- TINDERBOX Package %s done (SUCCESS)\n" % data.getVar('P', event.data, True) elif name == "PkgFailed": - if not data.getVar('TINDER_AUTOBUILD') == 0: + if not data.getVar('TINDER_AUTOBUILD', event.data, True) == "0": build.exec_task('do_clean', event.data) log += "<--- TINDERBOX Package %s failed (FAILURE)\n" % data.getVar('P', event.data, True) status = 200 -- cgit v1.2.3