Add a default for colorfunc.

This commit is contained in:
Georg Brandl 2008-06-01 20:25:48 +00:00
parent a5523402eb
commit fcc6976c9d

View File

@ -107,7 +107,7 @@ class Builder(object):
"""
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: