# HG changeset patch # User Ludovic Chabant # Date 1506915398 25200 # Node ID 2394fd68959001362323a9afc92b1e6ba2fec19e # Parent 1bb704434ee2b74996920346a5f4ec9887bd65f9 plugins: The command works on an empty site too. diff -r 1bb704434ee2 -r 2394fd689590 piecrust/commands/builtin/plugins.py --- 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',