git.samba.org
/
build-farm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e491266
)
remove useless /
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 22 Nov 2010 00:42:31 +0000
(
01:42
+0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Mon, 22 Nov 2010 00:42:31 +0000
(
01:42
+0100)
buildfarm/web/__init__.py
patch
|
blob
|
history
diff --git
a/buildfarm/web/__init__.py
b/buildfarm/web/__init__.py
index 9e2ddf905b9dd44e75f68555391f3844dc4b5d7d..a777cff26459a458d82f8f44df40d77607251382 100755
(executable)
--- a/
buildfarm/web/__init__.py
+++ b/
buildfarm/web/__init__.py
@@
-98,19
+98,19
@@
def html_build_status(status):
else:
return span("status failed", stage.result)
else:
return span("status failed", stage.result)
- ostatus =
""
+ ostatus =
[]
if "panic" in status.other_failures:
if "panic" in status.other_failures:
- return
"/"+
span("status panic", "PANIC")
+ return span("status panic", "PANIC")
if "disk full" in status.other_failures:
if "disk full" in status.other_failures:
- return
"/"+
span("status failed", "disk full")
+ return span("status failed", "disk full")
if "timeout" in status.other_failures:
if "timeout" in status.other_failures:
- return
"/"+
span("status failed", "timeout")
+ return span("status failed", "timeout")
if "inconsistent test result" in status.other_failures:
if "inconsistent test result" in status.other_failures:
- ostatus
+= "/"+span("status failed", "unexpected return code"
)
+ ostatus
.append(span("status failed", "unexpected return code")
)
bstatus = "/".join([span_status(s) for s in status.stages])
if bstatus == "":
bstatus = "?"
bstatus = "/".join([span_status(s) for s in status.stages])
if bstatus == "":
bstatus = "?"
- return
bstatus + ostatus
+ return
"/".join([bstatus] + ostatus)
def build_status_html(myself, build):
def build_status_html(myself, build):