bitbake/lib/bb/data_smart.py:
authorHolger Hans Peter Freyther <zecke@selfish.org>
Wed, 29 Mar 2006 20:24:43 +0000 (20:24 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Wed, 29 Mar 2006 20:24:43 +0000 (20:24 +0000)
    Remember what we paid to the Cookie Monster.
    Make a copy of it. Currently we do no removal
    of these keys so I hope to get around the
    shallow copies as welbitbake/lib/bb/data_smart.py:
    Remember what we paid to the Cookie Monster.
    Make a copy of it. Currently we do no removal
    of these keys so I hope to get around the
    shallow copies as welll

lib/bb/data_smart.py

index c21921c..c5f0d2f 100644 (file)
@@ -238,6 +238,8 @@ class DataSmart:
         # we really want this to be a DataSmart...
         data = DataSmart()
         data.dict["_data"] = self.dict
+        data._seen_overrides = copy.copy(self._seen_overrides)
+        data._special_values = copy.copy(self._special_values)
 
         return data