summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2017-01-06 19:04:01 +0100
committerMagnus Granberg <zorry@gentoo.org>2017-01-06 19:04:01 +0100
commit11d166a0b90d591b1e18efac99d1b729c6d30678 (patch)
treeb6a25e44a2dd027be997623b0b9c311c91b0e485
parentadd categories, logs and build_req (diff)
downloadtinderbox-cluster-www-11d166a0b90d591b1e18efac99d1b729c6d30678.tar.gz
tinderbox-cluster-www-11d166a0b90d591b1e18efac99d1b729c6d30678.tar.bz2
tinderbox-cluster-www-11d166a0b90d591b1e18efac99d1b729c6d30678.zip
fix ame 'adict' is not defined line 273
-rw-r--r--python/tbc_www/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tbc_www/views.py b/python/tbc_www/views.py
index 305ed8c..c272c50 100644
--- a/python/tbc_www/views.py
+++ b/python/tbc_www/views.py
@@ -270,7 +270,7 @@ def new_logs(request):
adict2['Fail'] = BL.Fail
adict2['SummeryText'] = BL.SummeryText
if BL.Fail:
- adict['FI'] = fail_status(BL.BuildLogId)
+ adict2['FI'] = fail_status(BL.BuildLogId)
alist.append(adict2)
TmpDict['BL_tmp'] = alist
TmpDict['QA_tmp'] = BuildLogsQa.objects.filter(BuildLogId__New = True)