[Buildbot-commits] buildbot/buildbot/status tinderbox.py,1.8,1.9

Brian Warner warner at users.sourceforge.net
Tue Apr 29 16:09:59 UTC 2008


Update of /cvsroot/buildbot/buildbot/buildbot/status
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24992/buildbot/status

Modified Files:
	tinderbox.py 
Log Message:
[project @ status/tinderbox.py: fix scope of logEncoding]

Original author: warner at lothar.com
Date: 2008-04-29 15:40:00+00:00

Index: tinderbox.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/tinderbox.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- tinderbox.py	1 Nov 2007 06:38:05 -0000	1.8
+++ tinderbox.py	29 Apr 2008 16:09:42 -0000	1.9
@@ -171,10 +171,10 @@
             text += "%s logcompression: %s\n" % (t, self.logCompression)
 
             # logs will always be appended
+            logEncoding = ""
             tinderboxLogs = ""
             for log in build.getLogs():
                 l = ""
-                logEncoding = ""
                 if self.logCompression == "bzip2":
                     compressedLog = bz2.compress(log.getText())
                     l = base64.encodestring(compressedLog)





More information about the Commits mailing list