diff piecrust/processing/pipeline.py @ 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 d90ccdf18156
children 7dabfdd056a1
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: