Mercurial > piecrust2
diff piecrust/data/paginationdata.py @ 854:08e02c2a2a1a
core: Keep refactoring, this time to prepare for generator sources.
- Make a few APIs simpler.
- Content pipelines create their own jobs, so that generator sources can
keep aborting in `getContents`, but rely on their pipeline to generate
pages for baking.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 04 Jun 2017 23:34:28 -0700 |
parents | f070a4fc033c |
children | f4608e2e80ce |
line wrap: on
line diff
--- a/piecrust/data/paginationdata.py Sun May 21 00:06:59 2017 -0700 +++ b/piecrust/data/paginationdata.py Sun Jun 04 23:34:28 2017 -0700 @@ -49,7 +49,7 @@ assert self is data if do_render: - uri = self.getUri() + uri = self._page.getUri() try: from piecrust.rendering import ( RenderingContext, render_page_segments)