Mercurial > piecrust2
comparison piecrust/commands/builtin/admin.py @ 842:a85d08ffe1f6
admin: Fix crash when running `admin run` outside of a website.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 19 Feb 2017 22:04:33 -0800 |
parents | 5e91bc0e3b4d |
children | 4850f8c21b6e |
comparison
equal
deleted
inserted
replaced
841:f0930178fd01 | 842:a85d08ffe1f6 |
---|---|
1 import os | 1 import os |
2 import os.path | 2 import os.path |
3 import logging | 3 import logging |
4 from piecrust import CACHE_DIR | 4 from piecrust import CACHE_DIR |
5 from piecrust.commands.base import ChefCommand | 5 from piecrust.commands.base import ChefCommand |
6 from piecrust.pathutil import SiteNotFoundError | |
6 | 7 |
7 | 8 |
8 logger = logging.getLogger(__name__) | 9 logger = logging.getLogger(__name__) |
9 | 10 |
10 | 11 |