The branch, master has been updated via 9233c19 Fix formatting. via 1a9bc63 Fix formatting. from a5fd44e Make the fix script update revision details.
http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 9233c193c5e94ca45c2e567ebe60773e2e222df7 Author: Jelmer Vernooij <jel...@samba.org> Date: Mon Nov 22 00:58:36 2010 +0100 Fix formatting. commit 1a9bc63b0c71d43bc900a877d99cb6f4bdfaa3e0 Author: Jelmer Vernooij <jel...@samba.org> Date: Mon Nov 22 00:44:39 2010 +0100 Fix formatting. ----------------------------------------------------------------------- Summary of changes: buildfarm/hostdb.py | 5 +++-- buildfarm/sqldb.py | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) Changeset truncated at 500 lines: diff --git a/buildfarm/hostdb.py b/buildfarm/hostdb.py index b195669..fa424b2 100644 --- a/buildfarm/hostdb.py +++ b/buildfarm/hostdb.py @@ -40,8 +40,9 @@ class NoSuchHost(Exception): class Host(object): """A host in the buildfarm.""" - def __init__(self, name, owner=None, owner_email=None, password=None, platform=None, - ssh_access=False, last_update=None, fqdn=None, join_time=None, permission=None): + def __init__(self, name, owner=None, owner_email=None, password=None, + platform=None, ssh_access=False, last_update=None, fqdn=None, + join_time=None, permission=None): self.name = name if owner: self.owner = (owner, owner_email) diff --git a/buildfarm/sqldb.py b/buildfarm/sqldb.py index 67eb4d1..28f6d8d 100644 --- a/buildfarm/sqldb.py +++ b/buildfarm/sqldb.py @@ -260,12 +260,12 @@ class StormCachingBuildFarm(BuildFarm): return StormHostDatabase(self._get_store()) def _open_build_results(self): - return StormCachingBuildResultStore(os.path.join(self.path, "data", "oldrevs"), - self._get_store()) + path = os.path.join(self.path, "data", "oldrevs") + return StormCachingBuildResultStore(path, self._get_store()) def get_host_builds(self, host): - return self._get_store().find(StormBuild, - StormBuild.host==host).group_by(StormBuild.compiler, StormBuild.tree) + result = self._get_store().find(StormBuild, StormBuild.host == host) + return result.group_by(StormBuild.compiler, StormBuild.tree) def get_tree_builds(self, tree): result = self._get_store().find(StormBuild, StormBuild.tree == tree) -- build.samba.org