# HG changeset patch # User Ludovic Chabant # Date 1473315276 25200 # Node ID 3900169ac81be9fcd7c8d173f00e122750a364a2 # Parent 922092c6eb8a8fdb2dbcfe6abe274967accdb15b plugins: Don't crash when running the `chef plugins` command outside a site. diff -r 922092c6eb8a -r 3900169ac81b piecrust/commands/builtin/plugins.py --- a/piecrust/commands/builtin/plugins.py Wed Sep 07 23:14:15 2016 -0700 +++ b/piecrust/commands/builtin/plugins.py Wed Sep 07 23:14:36 2016 -0700 @@ -1,5 +1,6 @@ import logging from piecrust.commands.base import ChefCommand +from piecrust.pathutil import SiteNotFoundError logger = logging.getLogger(__name__)