mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add a default for colorfunc.
This commit is contained in:
parent
a5523402eb
commit
fcc6976c9d
@ -107,7 +107,7 @@ class Builder(object):
|
|||||||
"""
|
"""
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
def status_iterator(self, iterable, summary, colorfunc):
|
def status_iterator(self, iterable, summary, colorfunc=darkgreen):
|
||||||
l = -1
|
l = -1
|
||||||
for item in iterable:
|
for item in iterable:
|
||||||
if l == -1:
|
if l == -1:
|
||||||
|
Loading…
Reference in New Issue
Block a user