bitbke/lib/bb/data_smart.py:
authorHolger Hans Peter Freyther <zecke@selfish.org>
Wed, 29 Mar 2006 21:04:42 +0000 (21:04 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Wed, 29 Mar 2006 21:04:42 +0000 (21:04 +0000)
    -createCopy is not called, instead
     a constructor is invoked. Copy the
     cookies here as well.

     Currently I only copy them from 'clean' as
     we should have them pickled already...

lib/bb/data_smart.py

index c5f0d2f..c894b7f 100644 (file)
@@ -324,6 +324,8 @@ class DataSmartPackage(DataSmart):
         # Either unpickle the data or do copy on write
         if clean:
             self.linkDataSet()
+            self._seen_overrides = copy.copy(parent._seen_overrides)
+            self._special_values = copy.copy(parent._special_values)
         else:
             self.unpickle()