Mercurial > piecrust2
diff piecrust/sources/base.py @ 833:cb39c0dbe5f0
Merge pull request #40 from GitHub.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 05 Feb 2017 22:42:18 -0800 |
parents | c30574f0dadc a12ad254176e |
children | 7f3043f9f26f |
line wrap: on
line diff
--- a/piecrust/sources/base.py Sun Feb 05 22:37:25 2017 -0800 +++ b/piecrust/sources/base.py Sun Feb 05 22:42:18 2017 -0800 @@ -2,6 +2,7 @@ import logging from werkzeug.utils import cached_property from piecrust.page import Page +from piecrust.data.assetor import Assetor REALM_USER = 0 @@ -133,3 +134,6 @@ def finalizeConfig(self, page): pass + def buildAssetor(self, page, uri): + return Assetor(page, uri) +