Mercurial > piecrust2
changeset 925:2394fd689590
plugins: The command works on an empty site too.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 01 Oct 2017 20:36:38 -0700 |
parents | 1bb704434ee2 |
children | 86b684cc0551 |
files | piecrust/commands/builtin/plugins.py |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/piecrust/commands/builtin/plugins.py Sun Oct 01 20:36:04 2017 -0700 +++ b/piecrust/commands/builtin/plugins.py Sun Oct 01 20:36:38 2017 -0700 @@ -12,11 +12,6 @@ self.description = "Manage the plugins for the current website." def setupParser(self, parser, app): - # Don't setup anything if this is a null app - # (for when `chef` is run from outside a website) - if app.root_dir is None: - return - subparsers = parser.add_subparsers() p = subparsers.add_parser( 'list',