diff piecrust/baking/baker.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 234d0c7c02cf
children 4850f8c21b6e
line wrap: on
line diff
--- a/piecrust/baking/baker.py	Thu Jun 09 23:32:15 2016 -0700
+++ b/piecrust/baking/baker.py	Sat Jun 25 16:58:59 2016 -0700
@@ -379,6 +379,7 @@
         logger.debug("Handling deletions...")
         for path, reason in record.getDeletions():
             logger.debug("Removing '%s': %s" % (path, reason))
+            record.current.deleted.append(path)
             try:
                 os.remove(path)
                 logger.info('[delete] %s' % path)