comparison piecrust/data/assetor.py @ 989:8adc27285d93

bake: Big pass on bake performance. - Reduce the amount of data passed between processes. - Make inter-process data simple objects to make it easier to test with alternatives to pickle. - Make sources have the basic requirement to be able to find a content item from an item spec (path). - Make Hoedown the default Markdown formatter.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 19 Nov 2017 14:29:17 -0800
parents a0a62d0da723
children b2a34a6ec5e5
comparison
equal deleted inserted replaced
988:f83ae0a5d793 989:8adc27285d93
113 self._cache_list.append(uri) 113 self._cache_list.append(uri)
114 114
115 stack = app.env.render_ctx_stack 115 stack = app.env.render_ctx_stack
116 cur_ctx = stack.current_ctx 116 cur_ctx = stack.current_ctx
117 if cur_ctx is not None: 117 if cur_ctx is not None:
118 cur_ctx.current_pass_info.used_assets = True 118 cur_ctx.render_info['used_assets'] = True
119 119