changeset 549:7453baeb0839

bake: Set the flags, don't combine. We don't want to combine old flags with new ones, especially if something went different between the last bake and the current one.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 04 Aug 2015 21:21:08 -0700
parents 785dea918ad8
children 6f216c1ab6b1
files piecrust/processing/pipeline.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/piecrust/processing/pipeline.py	Sun Aug 02 23:01:59 2015 -0700
+++ b/piecrust/processing/pipeline.py	Tue Aug 04 21:21:08 2015 -0700
@@ -122,7 +122,7 @@
         def _handler(res):
             entry = record.getCurrentEntry(res.path)
             assert entry is not None
-            entry.flags |= res.flags
+            entry.flags = res.flags
             entry.proc_tree = res.proc_tree
             entry.rel_outputs = res.rel_outputs
             if entry.flags & FLAG_PROCESSED: