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

Jelmer Vernooij jelmer at samba.org
Fri Nov 19 11:17:06 MST 2010


The branch, master has been updated
       via  adb7075 Return no such build error.
      from  4303518 host -> __getitem__

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


- Log -----------------------------------------------------------------
commit adb7075635f18356dfd012c1a221041b6e6b792a
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Fri Nov 19 19:16:50 2010 +0100

    Return no such build error.

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

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


Changeset truncated at 500 lines:

diff --git a/buildfarm/web/__init__.py b/buildfarm/web/__init__.py
index 0f72c51..7363505 100755
--- a/buildfarm/web/__init__.py
+++ b/buildfarm/web/__init__.py
@@ -470,7 +470,11 @@ class ViewBuildPage(BuildFarmPage):
         uname = ""
         cflags = ""
         config = ""
-        build = self.buildfarm.get_build(tree, host, compiler, rev)
+        try:
+            build = self.buildfarm.get_build(tree, host, compiler, rev)
+        except data.NoSuchBuildError:
+            yield "No such build: %s on %s with %s, rev %s" % (tree, host, compiler, rev)
+            return
         try:
             (revision, revision_time) = build.revision_details()
         except data.MissingRevisionInfo:


-- 
build.samba.org


More information about the samba-cvs mailing list