summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/data_smart.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index 68d273b3a6..b1ea33fc30 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -296,9 +296,14 @@ class VariableHistory(object):
296 self.variables[var] = [] 296 self.variables[var] = []
297 297
298class DataSmart(MutableMapping): 298class DataSmart(MutableMapping):
299 def __init__(self, special = COWDictBase.copy(), seen = COWDictBase.copy() ): 299 def __init__(self, special = None, seen = None ):
300 self.dict = {} 300 self.dict = {}
301 301
302 if special is None:
303 special = COWDictBase.copy()
304 if seen is None:
305 seen = COWDictBase.copy()
306
302 self.inchistory = IncludeHistory() 307 self.inchistory = IncludeHistory()
303 self.varhistory = VariableHistory(self) 308 self.varhistory = VariableHistory(self)
304 self._tracking = False 309 self._tracking = False