[Buildbot-commits] buildbot/buildbot/scripts runner.py,1.14,1.15
Brian Warner
warner at users.sourceforge.net
Tue May 3 04:31:22 UTC 2005
Update of /cvsroot/buildbot/buildbot/buildbot/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11507/buildbot/scripts
Modified Files:
runner.py
Log Message:
* buildbot/scripts/runner.py (Maker.makefile): chmod before edit,
deals better with source Makefile coming from a read-only CVS
checkout. Thanks to Nick Trout for the catch.
* buildbot/__init__.py (version): bump to 0.6.4+ while between
releases
Index: runner.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/runner.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- runner.py 26 Apr 2005 20:10:10 -0000 1.14
+++ runner.py 3 May 2005 04:31:20 -0000 1.15
@@ -67,13 +67,13 @@
print "installing sample in Makefile.sample instead"
target = "Makefile.sample"
shutil.copy(source, target)
+ os.chmod(target, 0600)
f = open(target, "a")
f.write("\n")
f.write("tap:\n")
f.write("\t" + cmd + "\n")
f.write("\n")
f.close()
- os.chmod(target, 0600)
def sampleconfig(self, source):
target = "master.cfg"
More information about the Commits
mailing list