[Buildbot-commits] buildbot/buildbot/process step.py,1.91,1.92

Brian Warner warner at users.sourceforge.net
Fri Jun 16 05:28:01 UTC 2006


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

Modified Files:
	step.py 
Log Message:
[project @ LogObserver: add outReceived and errReceived base methods]

Original author: warner at lothar.com
Date: 2006-06-16 01:06:20

Index: step.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/step.py,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- step.py	16 Jun 2006 05:27:51 -0000	1.91
+++ step.py	16 Jun 2006 05:27:59 -0000	1.92
@@ -345,6 +345,17 @@
 
     # TODO: add a logEnded method? er, stepFinished?
 
+    def outReceived(self, data):
+        """This will be called with chunks of stdout data. Override this in
+        your observer."""
+        pass
+
+    def errReceived(self, data):
+        """This will be called with chunks of stderr data. Override this in
+        your observer."""
+        pass
+
+
 class LogLineObserver(LogObserver):
     def __init__(self):
         self.stdoutParser = basic.LineOnlyReceiver()





More information about the Commits mailing list