[Buildbot-commits] buildbot/buildbot/steps transfer.py,1.8,1.9
Brian Warner
warner at users.sourceforge.net
Sun Apr 15 01:28:49 UTC 2007
Update of /cvsroot/buildbot/buildbot/buildbot/steps
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24911/buildbot/steps
Modified Files:
transfer.py
Log Message:
[project @ web-parts: start rearranging web status files]
Original author: warner at lothar.com
Date: 2007-02-27 20:33:22+00:00
Index: transfer.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/steps/transfer.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- transfer.py 24 Mar 2007 18:40:23 -0000 1.8
+++ transfer.py 15 Apr 2007 01:28:47 -0000 1.9
@@ -16,7 +16,7 @@
def __init__(self, destfile, maxsize, mode):
self.destfile = destfile
- self.fp = open(destfile, "wb")
+ self.fp = open(destfile, "w")
if mode is not None:
os.chmod(destfile, mode)
self.remaining = maxsize
@@ -240,7 +240,7 @@
# setup structures for reading the file
try:
- fp = open(source, 'rb')
+ fp = open(source, 'r')
except IOError:
# if file does not exist, bail out with an error
self.addCompleteLog('stderr',
More information about the Commits
mailing list