[Buildbot-commits] buildbot/docs buildbot.texinfo,1.83,1.84

Brian Warner warner at users.sourceforge.net
Fri Oct 13 09:14:09 UTC 2006


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

Modified Files:
	buildbot.texinfo 
Log Message:
[project @ docs: update some examples to match reorganized directories]

Original author: warner at lothar.com
Date: 2006-10-13 09:10:06

Index: buildbot.texinfo
===================================================================
RCS file: /cvsroot/buildbot/buildbot/docs/buildbot.texinfo,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- buildbot.texinfo	2 Oct 2006 00:13:18 -0000	1.83
+++ buildbot.texinfo	13 Oct 2006 09:14:07 -0000	1.84
@@ -4274,10 +4274,11 @@
 progress that this event represents.
 
 There are a number of pre-built @code{LogObserver} classes that you
-can choose from, and of course you can subclass them to add further
-customization. The @code{LogLineObserver} class handles the grunt work
-of buffering and scanning for end-of-line delimiters, allowing your
-parser to operate on complete stdout/stderr lines.
+can choose from (defined in @code{buildbot.process.buildstep}, and of
+course you can subclass them to add further customization. The
+ at code{LogLineObserver} class handles the grunt work of buffering and
+scanning for end-of-line delimiters, allowing your parser to operate
+on complete stdout/stderr lines.
 
 For example, let's take a look at the @code{TrialTestCaseCounter},
 which is used by the Trial step to count test cases as they are run.
@@ -4298,7 +4299,9 @@
 The parser class looks like this:
 
 @example
-class TrialTestCaseCounter(step.LogLineObserver):
+from buildbot.process.buildstep import LogLineObserver
+
+class TrialTestCaseCounter(LogLineObserver):
     _line_re = re.compile(r'^([\w\.]+) \.\.\. \[([^\]]+)\]$')
     numTests = 0
     finished = False





More information about the Commits mailing list