Mercurial > piecrust2
diff piecrust/rendering.py @ 430:21e26ed867b6
internal: Create full route metadata in one place.
Instead of combining things at different moments to make up route metadata,
build it once and for all up-front and use that.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 27 Jun 2015 08:27:35 -0700 |
parents | 3b658190c02b |
children | 32c7c2d219d2 |
line wrap: on
line diff
--- a/piecrust/rendering.py Sat Jun 27 00:03:56 2015 -0700 +++ b/piecrust/rendering.py Sat Jun 27 08:27:35 2015 -0700 @@ -34,8 +34,7 @@ self.route_metadata = route_metadata def getUri(self, sub_num=1): - return self.route.getUri(self.route_metadata, provider=self.page, - sub_num=sub_num) + return self.route.getUri(self.route_metadata, sub_num=sub_num) def __getattr__(self, name): return getattr(self.page, name)