Mercurial > piecrust2
changeset 168:56d6b17e057b
routes: Show regex patterns for routes.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 03 Jan 2015 18:06:34 -0800 |
parents | 0a1736ef740d |
children | f3aa511eef99 |
files | piecrust/commands/builtin/info.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/piecrust/commands/builtin/info.py Fri Jan 02 19:47:41 2015 -0800 +++ b/piecrust/commands/builtin/info.py Sat Jan 03 18:06:34 2015 -0800 @@ -79,6 +79,7 @@ logger.info("%s:" % route.uri_pattern) logger.info(" source: %s" % route.source_name) logger.info(" taxonomy: %s" % (route.taxonomy or '')) + logger.info(" regex: %s" % route.uri_re.pattern) class ShowPathsCommand(ChefCommand):