Mercurial > piecrust2
diff piecrust/commands/base.py @ 663:3ceeca7bb71c
themes: Add support for a `--theme` argument to `chef`.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 01 Mar 2016 22:27:28 -0800 |
parents | 456db44dcc53 |
children | 4850f8c21b6e |
line wrap: on
line diff
--- a/piecrust/commands/base.py Tue Mar 01 22:27:04 2016 -0800 +++ b/piecrust/commands/base.py Tue Mar 01 22:27:28 2016 -0800 @@ -32,7 +32,7 @@ def checkedRun(self, ctx): if ctx.app.root_dir is None and self.requires_website: - raise SiteNotFoundError() + raise SiteNotFoundError(theme=ctx.app.theme_site) return self.run(ctx)