summaryrefslogtreecommitdiff
path: root/classes/tinderclient.bbclass
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2006-08-18 10:08:19 +0000
committerHolger Freyther <zecke@selfish.org>2006-08-18 10:08:19 +0000
commite8877cb8958dc6f62b67cb091f977f8ac4b1eba0 (patch)
tree5716fe891e614d070acacce7c7f826db588745fc /classes/tinderclient.bbclass
parenta8752e8877e724c785d1554646b9c13be177e157 (diff)
classes/tinderclient.bbclass: Fix the getVar invocation and the test...
Diffstat (limited to 'classes/tinderclient.bbclass')
-rw-r--r--classes/tinderclient.bbclass2
1 files changed, 1 insertions, 1 deletions
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