Mercurial > piecrust2
diff piecrust/processing/pipeline.py @ 753:9a92e2804562
bake: Add the list of deleted files to the bake/processing records.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 25 Jun 2016 16:58:59 -0700 |
parents | 61d606fbc313 |
children |
line wrap: on
line diff
--- a/piecrust/processing/pipeline.py Thu Jun 09 23:32:15 2016 -0700 +++ b/piecrust/processing/pipeline.py Sat Jun 25 16:58:59 2016 -0700 @@ -166,6 +166,7 @@ if delete: for path, reason in record.getDeletions(): logger.debug("Removing '%s': %s" % (path, reason)) + record.current.deleted.append(path) try: os.remove(path) except FileNotFoundError: