[Buildbot-commits] buildbot/buildbot interfaces.py,1.45,1.46
Brian Warner
warner at users.sourceforge.net
Fri Sep 15 14:48:46 UTC 2006
Update of /cvsroot/buildbot/buildbot/buildbot
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21118/buildbot
Modified Files:
interfaces.py
Log Message:
[project @ add IStatusLog.readlines()]
Original author: warner at lothar.com
Date: 2006-09-08 21:42:21
Index: interfaces.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/interfaces.py,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- interfaces.py 20 Aug 2006 22:25:35 -0000 1.45
+++ interfaces.py 15 Sep 2006 14:48:44 -0000 1.46
@@ -661,6 +661,10 @@
"""Return one big string with the contents of the Log. This merges
all non-header chunks together."""
+ def readlines():
+ """Return a list (really an iterator) of newline-terminated lines,
+ excluding header chunks."""
+
def getTextWithHeaders():
"""Return one big string with the contents of the Log. This merges
all chunks (including headers) together."""
More information about the Commits
mailing list