Mercurial > piecrust2
diff piecrust/data/builder.py @ 46:99dea56238af
Apparently Jinja doesn't understand `None` the way I thought.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 21 Aug 2014 23:26:44 -0700 |
parents | 62c7a97c8340 |
children | cb1ed436642c |
line wrap: on
line diff
--- a/piecrust/data/builder.py Thu Aug 21 23:09:31 2014 -0700 +++ b/piecrust/data/builder.py Thu Aug 21 23:26:44 2014 -0700 @@ -98,7 +98,7 @@ def debug_info(self): if self._page is not None and self._data is not None: return build_debug_info(self._page, self._data) - return None + return '' def _enableDebugInfo(self, page, data): self._page = page