Mercurial > piecrust2
comparison piecrust/commands/builtin/plugins.py @ 796:3900169ac81b
plugins: Don't crash when running the `chef plugins` command outside a site.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 07 Sep 2016 23:14:36 -0700 |
parents | f7ddd730c08d |
children | 58ae026b4c31 |
comparison
equal
deleted
inserted
replaced
795:922092c6eb8a | 796:3900169ac81b |
---|---|
1 import logging | 1 import logging |
2 from piecrust.commands.base import ChefCommand | 2 from piecrust.commands.base import ChefCommand |
3 from piecrust.pathutil import SiteNotFoundError | |
3 | 4 |
4 | 5 |
5 logger = logging.getLogger(__name__) | 6 logger = logging.getLogger(__name__) |
6 | 7 |
7 | 8 |