Mercurial > piecrust2
changeset 757:7147b06670fd
bake: Print slightly better debug information.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 25 Jun 2016 17:01:08 -0700 |
parents | 37bd88f88bab |
children | 6abb436fea5b |
files | piecrust/processing/tree.py |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/piecrust/processing/tree.py Sat Jun 25 17:00:41 2016 -0700 +++ b/piecrust/processing/tree.py Sat Jun 25 17:01:08 2016 -0700 @@ -247,7 +247,12 @@ else: node.setState(STATE_CLEAN, False) - state = "dirty" if node.state == STATE_DIRTY else "clean" + if node.state == STATE_DIRTY: + state = "dirty" + elif node.state == STATE_CLEAN: + state = "clean" + else: + state = "unknown" logger.debug(format_timed(start_time, "Computed node dirtyness: %s" % state, indent_level=node.level, colored=False))