Mercurial > piecrust2
changeset 707:5f552aedd918
bake: Don't clean the `baker` cache on a force bake.
This lets the user access their previous bake records.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 25 Mar 2016 23:35:56 -0700 |
parents | dab26ab3d533 |
children | d3a5a086e5cd |
files | piecrust/baking/baker.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/piecrust/baking/baker.py Sat Apr 16 23:12:06 2016 -0700 +++ b/piecrust/baking/baker.py Fri Mar 25 23:35:56 2016 -0700 @@ -172,7 +172,7 @@ if reason is not None: # We have to bake everything from scratch. - self.app.cache.clearCaches(except_names=['app']) + self.app.cache.clearCaches(except_names=['app', 'baker']) self.force = True record.incremental_count = 0 record.clearPrevious()