summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/codeparser.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/codeparser.py b/bitbake/lib/bb/codeparser.py
index 82a3af4e06..6c9a42dc39 100644
--- a/bitbake/lib/bb/codeparser.py
+++ b/bitbake/lib/bb/codeparser.py
@@ -144,6 +144,10 @@ class CodeParserCache(MultiProcessCache):
144 return cacheline 144 return cacheline
145 145
146 def init_cache(self, d): 146 def init_cache(self, d):
147 # Check if we already have the caches
148 if self.pythoncache:
149 return
150
147 MultiProcessCache.init_cache(self, d) 151 MultiProcessCache.init_cache(self, d)
148 152
149 # cachedata gets re-assigned in the parent 153 # cachedata gets re-assigned in the parent