summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/cookerdata.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py
index d105ab7b2d..2c9019f81f 100644
--- a/bitbake/lib/bb/cookerdata.py
+++ b/bitbake/lib/bb/cookerdata.py
@@ -327,6 +327,9 @@ class CookerDataBuilder(object):
327 self.mcdata[''] = self.data 327 self.mcdata[''] = self.data
328 328
329 def reset(self): 329 def reset(self):
330 # We may not have run parseBaseConfiguration() yet
331 if not hasattr(self, 'origdata'):
332 return
330 self.data = bb.data.createCopy(self.origdata) 333 self.data = bb.data.createCopy(self.origdata)
331 self.mcdata[''] = self.data 334 self.mcdata[''] = self.data
332 335