Mercurial > piecrust2
diff piecrust/pipelines/base.py @ 1015:fa489c5e829e
bake: Load pages in parallel again.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 29 Nov 2017 20:37:57 -0800 |
parents | 8adc27285d93 |
children | 971b4d67e82a |
line wrap: on
line diff
--- a/piecrust/pipelines/base.py Tue Nov 28 21:28:15 2017 -0800 +++ b/piecrust/pipelines/base.py Wed Nov 29 20:37:57 2017 -0800 @@ -103,9 +103,10 @@ This is run on the master process, so it can access the current record. """ - def __init__(self, record, job, step_num): + def __init__(self, record, job, pass_num, step_num): self.record = record self.job = job + self.pass_num = pass_num self.step_num = step_num @cached_property @@ -156,9 +157,6 @@ def initialize(self): pass - def loadAllContents(self): - return None - def createJobs(self, ctx): return [ create_job(self, item.spec)