diff piecrust/baking/baker.py @ 425:afeebdd9f767

bake: Pass the sub-cache directory to the bake workers.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 25 Jun 2015 14:51:37 -0700
parents 4a43d7015b75
children ed5ccd4cce49
line wrap: on
line diff
--- a/piecrust/baking/baker.py	Thu Jun 25 14:51:12 2015 -0700
+++ b/piecrust/baking/baker.py	Thu Jun 25 14:51:37 2015 -0700
@@ -548,7 +548,7 @@
         pool = _WorkerPool()
         for i in range(self.num_workers):
             ctx = BakeWorkerContext(
-                    self.app.root_dir, self.out_dir,
+                    self.app.root_dir, self.app.cache.base_dir, self.out_dir,
                     pool.queue, pool.results, pool.abort_event,
                     force=self.force, debug=self.app.debug)
             w = multiprocessing.Process(