[SCM] build.samba.org - branch master updated
Jelmer Vernooij
jelmer at samba.org
Sun Nov 21 09:08:15 MST 2010
The branch, master has been updated
via 956c8cb Cope with files that already exist.
from 271bfa2 List old uploads early.
http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 956c8cb97516ced0f76ac94b20dd3c3b3750a5c3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Nov 21 17:07:35 2010 +0100
Cope with files that already exist.
-----------------------------------------------------------------------
Summary of changes:
buildfarm/data.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/buildfarm/data.py b/buildfarm/data.py
index 535515d..906eebe 100644
--- a/buildfarm/data.py
+++ b/buildfarm/data.py
@@ -427,7 +427,10 @@ class BuildResultStore(object):
try:
existing_build = self.get_build(build.tree, build.host, build.compiler, rev)
except NoSuchBuildError:
- pass
+ if os.path.exists(new_basename+".log"):
+ os.remove(new_basename+".log")
+ if os.path.exists(new_basename+".err"):
+ os.remove(new_basename+".err")
else:
existing_build.remove_logs()
os.link(build.basename+".log", new_basename+".log")
--
build.samba.org
More information about the samba-cvs
mailing list