[SCM] build.samba.org - branch master updated
Jelmer Vernooij
jelmer at samba.org
Tue Dec 7 01:40:20 MST 2010
The branch, master has been updated
via 1d47f19 ... and commit the right file
from 1b79908 Cope with multiple builds with the same checksum.
http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 1d47f199949889de4bdf55a5a8c31fadf1f6ab7b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Dec 7 09:40:07 2010 +0100
... and commit the right file
-----------------------------------------------------------------------
Summary of changes:
buildfarm/build.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/buildfarm/build.py b/buildfarm/build.py
index e5993ef..b6602ab 100644
--- a/buildfarm/build.py
+++ b/buildfarm/build.py
@@ -562,8 +562,8 @@ class BuildResultStore(object):
def get_by_checksum(self, checksum):
from buildfarm.sqldb import Cast
result = self.store.find(StormBuild,
- Cast(StormBuild.checksum, "TEXT") == Cast(checksum, "TEXT"))
- ret = result.one()
+ Cast(StormBuild.checksum, "TEXT") == Cast(checksum, "TEXT")).order_by(Desc(StormBuild.upload_time))
+ ret = result.first()
if ret is None:
raise NoSuchBuildError(None, None, None, None)
return ret
--
build.samba.org
More information about the samba-cvs
mailing list