Mercurial > piecrust2
comparison piecrust/commands/builtin/info.py @ 307:869a206facd5
internal: Remove mentions of plugins directories and sources.
| author | Ludovic Chabant <ludovic@chabant.com> |
|---|---|
| date | Sun, 22 Mar 2015 22:29:06 -0700 |
| parents | 56d6b17e057b |
| children | b034f6f15e22 |
comparison
equal
deleted
inserted
replaced
| 306:7122976bc751 | 307:869a206facd5 |
|---|---|
| 91 def setupParser(self, parser, app): | 91 def setupParser(self, parser, app): |
| 92 pass | 92 pass |
| 93 | 93 |
| 94 def run(self, ctx): | 94 def run(self, ctx): |
| 95 app = ctx.app | 95 app = ctx.app |
| 96 paths = ['theme_dir', 'templates_dirs', 'plugins_dirs', 'cache_dir'] | 96 paths = ['theme_dir', 'templates_dirs', 'cache_dir'] |
| 97 for p in paths: | 97 for p in paths: |
| 98 value = getattr(app, p) | 98 value = getattr(app, p) |
| 99 if isinstance(value, list): | 99 if isinstance(value, list): |
| 100 logging.info("%s:" % p) | 100 logging.info("%s:" % p) |
| 101 for v in value: | 101 for v in value: |
