Mercurial > piecrust2
diff piecrust/processing/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 | 61d606fbc313 |
children |
line wrap: on
line diff
--- a/piecrust/processing/records.py Thu Jun 09 23:32:15 2016 -0700 +++ b/piecrust/processing/records.py Sat Jun 25 16:58:59 2016 -0700 @@ -4,13 +4,14 @@ class ProcessorPipelineRecord(Record): - RECORD_VERSION = 6 + RECORD_VERSION = 7 def __init__(self): super(ProcessorPipelineRecord, self).__init__() self.out_dir = None self.process_time = None self.processed_count = 0 + self.deleted = [] self.success = False @@ -79,7 +80,9 @@ if prev and cur and not cur.was_processed: # This asset wasn't processed, so the information from # last time is still valid. - cur.flags = prev.flags | FLAG_COLLAPSED_FROM_LAST_RUN + cur.flags = (prev.flags + & ~FLAG_PROCESSED + | FLAG_COLLAPSED_FROM_LAST_RUN) cur.rel_outputs = list(prev.rel_outputs) cur.errors = list(prev.errors)