comparison piecrust/baking/worker.py @ 422:a8a12f97addf

internal: Remove unnecessary code.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 20 Jun 2015 23:54:57 -0700
parents 4a43d7015b75
children afeebdd9f767
comparison
equal deleted inserted replaced
421:4a43d7015b75 422:a8a12f97addf
188 188
189 self.ctx.results.put_nowait(result) 189 self.ctx.results.put_nowait(result)
190 190
191 191
192 class RenderFirstSubJobHandler(JobHandler): 192 class RenderFirstSubJobHandler(JobHandler):
193 def __init__(self, app, ctx):
194 super(RenderFirstSubJobHandler, self).__init__(app, ctx)
195
196 def handleJob(self, job): 193 def handleJob(self, job):
197 # Render the segments for the first sub-page of this page. 194 # Render the segments for the first sub-page of this page.
198 fac = job.payload.factory_info.build(self.app) 195 fac = job.payload.factory_info.build(self.app)
199 196
200 # These things should be OK as they're checked upstream by the baker. 197 # These things should be OK as they're checked upstream by the baker.