diff 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
line wrap: on
line diff
--- a/piecrust/data/assetor.py	Fri Nov 03 23:14:56 2017 -0700
+++ b/piecrust/data/assetor.py	Sun Nov 19 14:29:17 2017 -0800
@@ -115,5 +115,5 @@
         stack = app.env.render_ctx_stack
         cur_ctx = stack.current_ctx
         if cur_ctx is not None:
-            cur_ctx.current_pass_info.used_assets = True
+            cur_ctx.render_info['used_assets'] = True