[Python-checkins] r63870 - doctools/trunk/sphinx/builder.py

georg.brandl python-checkins at python.org
Sun Jun 1 22:25:48 CEST 2008


Author: georg.brandl
Date: Sun Jun  1 22:25:48 2008
New Revision: 63870

Log:
Add a default for colorfunc.


Modified:
   doctools/trunk/sphinx/builder.py

Modified: doctools/trunk/sphinx/builder.py
==============================================================================
--- doctools/trunk/sphinx/builder.py	(original)
+++ doctools/trunk/sphinx/builder.py	Sun Jun  1 22:25:48 2008
@@ -107,7 +107,7 @@
         """
         raise NotImplementedError
 
-    def status_iterator(self, iterable, summary, colorfunc):
+    def status_iterator(self, iterable, summary, colorfunc=darkgreen):
         l = -1
         for item in iterable:
             if l == -1:


More information about the Python-checkins mailing list