[SCM] build.samba.org - branch master updated
Jelmer Vernooij
jelmer at samba.org
Wed Nov 17 02:20:33 MST 2010
The branch, master has been updated
via 7d445b7 Fix tree argument to storm get_last_builds.
from d8b9cdd Implement sql-specific get_last_builds.
http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 7d445b77eb6779b807e0845b20625c5c5a32dfd2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Nov 17 10:20:01 2010 +0100
Fix tree argument to storm get_last_builds.
-----------------------------------------------------------------------
Summary of changes:
buildfarm/sqldb.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/buildfarm/sqldb.py b/buildfarm/sqldb.py
index eebc7d8..00b150f 100644
--- a/buildfarm/sqldb.py
+++ b/buildfarm/sqldb.py
@@ -246,8 +246,10 @@ class StormCachingBuildFarm(BuildFarm):
return self._get_store().find(StormBuild,
StormBuild.host == host).group_by(StormBuild.compiler, StormBuild.tree)
- def get_last_builds(self, tree):
- extra_expr = [StormBuild.tree == tree]
+ def get_last_builds(self, tree=None):
+ extra_expr = []
+ if tree is not None:
+ extra_expr.append(StormBuild.tree == tree)
return self._get_store().find(StormBuild, *extra_expr)
def commit(self):
--
build.samba.org
More information about the samba-cvs
mailing list