Mercurial > piecrust2
diff piecrust/rendering.py @ 158:1187739e5a19
Fix some indentation and line lengths.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 31 Dec 2014 16:56:55 -0800 |
parents | 1c3d229158ba |
children | e9a3d405e18f |
line wrap: on
line diff
--- a/piecrust/rendering.py Sat Dec 27 18:17:30 2014 -0800 +++ b/piecrust/rendering.py Wed Dec 31 16:56:55 2014 -0800 @@ -99,7 +99,8 @@ if repo: cache_key = '%s:%s' % (ctx.uri, ctx.page_num) page_time = page.path_mtime - contents = repo.get(cache_key, + contents = repo.get( + cache_key, lambda: _do_render_page_segments(page, page_data), fs_cache_time=page_time) else: