Mercurial > piecrust2
comparison piecrust/commands/builtin/baking.py @ 883:803c5c28a71f
showrecord: Fix bug when filtering output paths.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 17 Jun 2017 15:14:38 -0700 |
parents | 58ae026b4c31 |
children | 98becbc75ccc |
comparison
equal
deleted
inserted
replaced
882:acd9c3e8533f | 883:803c5c28a71f |
---|---|
180 if ctx.args.in_path: | 180 if ctx.args.in_path: |
181 in_pattern = '*%s*' % ctx.args.in_path.strip('*') | 181 in_pattern = '*%s*' % ctx.args.in_path.strip('*') |
182 | 182 |
183 out_pattern = None | 183 out_pattern = None |
184 if ctx.args.out_path: | 184 if ctx.args.out_path: |
185 out_pattern = '*%s*' % ctx.args.out.strip('*') | 185 out_pattern = '*%s*' % ctx.args.out_path.strip('*') |
186 | 186 |
187 pipelines = ctx.args.pipelines | 187 pipelines = ctx.args.pipelines |
188 if not pipelines: | 188 if not pipelines: |
189 pipelines = [p.PIPELINE_NAME | 189 pipelines = [p.PIPELINE_NAME |
190 for p in ctx.app.plugin_loader.getPipelines()] | 190 for p in ctx.app.plugin_loader.getPipelines()] |