Mercurial > piecrust2
diff piecrust/baking/records.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 |
line wrap: on
line diff
--- a/piecrust/baking/records.py Thu Jun 09 23:32:15 2016 -0700 +++ b/piecrust/baking/records.py Sat Jun 25 16:58:59 2016 -0700 @@ -16,7 +16,7 @@ class BakeRecord(Record): - RECORD_VERSION = 19 + RECORD_VERSION = 20 def __init__(self): super(BakeRecord, self).__init__() @@ -24,6 +24,7 @@ self.bake_time = None self.baked_count = {} self.total_baked_count = {} + self.deleted = [] self.success = True @@ -107,6 +108,11 @@ yield from sub.assets @property + def all_out_paths(self): + for sub in self.subs: + yield sub.out_path + + @property def has_any_error(self): if len(self.errors) > 0: return True