[Buildbot-commits] buildbot/buildbot/process step_twisted.py, 1.78, 1.79

Brian Warner warner at users.sourceforge.net
Thu Jun 15 05:47:44 UTC 2006


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

Modified Files:
	step_twisted.py 
Log Message:
[project @ update step_twisted to new logs['stdio'] scheme]

Original author: warner at lothar.com
Date: 2006-06-15 01:26:11

Index: step_twisted.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/step_twisted.py,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- step_twisted.py	30 May 2006 07:07:33 -0000	1.78
+++ step_twisted.py	15 Jun 2006 05:47:42 -0000	1.79
@@ -62,7 +62,7 @@
         # submitted to hlint) because it is available in the logfile and
         # mostly exists to give the user an idea of how long the step will
         # take anyway).
-        lines = cmd.log.getText().split("\n")
+        lines = cmd.logs['stdio'].getText().split("\n")
         warningLines = filter(lambda line:':' in line, lines)
         if warningLines:
             self.addCompleteLog("warnings", "".join(warningLines))
@@ -436,7 +436,7 @@
         # figure out all status, then let the various hook functions return
         # different pieces of it
 
-        output = cmd.log.getText()
+        output = cmd.logs['stdio'].getText()
         counts = countFailedTests(output)
 
         total = counts['total']
@@ -704,7 +704,7 @@
 
     def commandComplete(self, cmd):
         errors, warnings = 0, 0
-        output = cmd.log.getText()
+        output = cmd.logs['stdio'].getText()
         summary = ""
         sio = StringIO.StringIO(output)
         for line in sio.readlines():





More information about the Commits mailing list