Cosmetic changes.

This commit is contained in:
Georg Brandl 2008-12-26 20:29:23 +01:00
parent 83c9f7a849
commit 5975e6c0f6

View File

@ -237,8 +237,7 @@ class Builder(object):
def build(self, docnames, summary=None, method='update'): def build(self, docnames, summary=None, method='update'):
""" """
Main build method. This first updates the environment, and then calls Main build method. First updates the environment, and then calls :meth:`write`.
:meth:`write`.
""" """
if summary: if summary:
self.info(bold('building [%s]: ' % self.name), nonl=1) self.info(bold('building [%s]: ' % self.name), nonl=1)
@ -275,8 +274,7 @@ class Builder(object):
self.info(bold('no targets are out of date.')) self.info(bold('no targets are out of date.'))
return return
# another indirection to support methods which don't build files # another indirection to support builders that don't build files individually
# individually
self.write(docnames, updated_docnames, method) self.write(docnames, updated_docnames, method)
# finish (write static files etc.) # finish (write static files etc.)