[SCM] build.samba.org - branch master updated

Jelmer Vernooij jelmer at samba.org
Sun Nov 21 17:43:16 MST 2010


The branch, master has been updated
       via  dea5214 remove useless /
      from  e491266 ignore other status in case of timeout/disk full, etc.

http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit dea521456f080e815a0d0060c17c9bfd48db6fd6
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Mon Nov 22 01:42:31 2010 +0100

    remove useless /

-----------------------------------------------------------------------

Summary of changes:
 buildfarm/web/__init__.py |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)


Changeset truncated at 500 lines:

diff --git a/buildfarm/web/__init__.py b/buildfarm/web/__init__.py
index 9e2ddf9..a777cff 100755
--- 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)
 
-    ostatus = ""
+    ostatus = []
     if "panic" in status.other_failures:
-        return "/"+span("status panic", "PANIC")
+        return span("status panic", "PANIC")
     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:
-        return "/"+span("status failed", "timeout")
+        return span("status failed", "timeout")
     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 = "?"
-    return bstatus + ostatus
+    return "/".join([bstatus] + ostatus)
 
 
 def build_status_html(myself, build):


-- 
build.samba.org


More information about the samba-cvs mailing list