Mercurial > piecrust2
diff piecrust/commands/builtin/baking.py @ 45:efd0d3bacc9e
Don't recursively clean the cache.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 21 Aug 2014 23:09:31 -0700 |
parents | f14889d6b067 |
children | 0dd43c5f5484 |
line wrap: on
line diff
--- a/piecrust/commands/builtin/baking.py Thu Aug 21 22:52:18 2014 -0700 +++ b/piecrust/commands/builtin/baking.py Thu Aug 21 23:09:31 2014 -0700 @@ -66,7 +66,7 @@ def run(self, ctx): out_dir = ctx.args.output or os.path.join(ctx.app.root_dir, '_counter') - record_cache = ctx.app.cache.getCache('bake_r') + record_cache = ctx.app.cache.getCache('baker') record_name = hashlib.md5(out_dir.encode('utf8')).hexdigest() + '.record' if not record_cache.has(record_name): raise Exception("No record has been created for this output path. "