[Buildbot-commits] buildbot/buildbot/test test_status.py,1.26,1.27

Brian Warner warner at users.sourceforge.net
Wed Oct 26 21:33:22 UTC 2005


Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5367/buildbot/test

Modified Files:
	test_status.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-402
Creator:  Brian Warner <warner at lothar.com>

apply mail/html patches from Dobes Vandermeer and Frerich Raabe

	* buildbot/status/mail.py (MailNotifier): urllib.escape the URLs
	in case they have spaces or whatnot. Patch from Dobes Vandermeer.
	* buildbot/test/test_status.py (MyStatus.getURLForThing): fix it

	* buildbot/status/html.py (td): put a single non-breaking space
	inside otherwise empty <td> elements, as a workaround for buggy
	browsers which would optimize them away (along with any associated
	styles, like the kind that create the waterfall grid borders).
	Patch from Frerich Raabe.


Index: test_status.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_status.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- test_status.py	23 Oct 2005 05:28:46 -0000	1.26
+++ test_status.py	26 Oct 2005 21:33:20 -0000	1.27
@@ -87,6 +87,8 @@
 class MyStatus:
     def getBuildbotURL(self):
         return self.url
+    def getURLForThing(self, thing):
+        return None
 
 class MyBuilder(builder.BuilderStatus):
     nextBuildNumber = 0





More information about the Commits mailing list