summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/codeparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/codeparser.py')
-rw-r--r--bitbake/lib/bb/codeparser.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/codeparser.py b/bitbake/lib/bb/codeparser.py
index ecae7b0808..d6b8102585 100644
--- a/bitbake/lib/bb/codeparser.py
+++ b/bitbake/lib/bb/codeparser.py
@@ -184,12 +184,12 @@ class CodeParserCache(MultiProcessCache):
184 self.shellcachelines[h] = cacheline 184 self.shellcachelines[h] = cacheline
185 return cacheline 185 return cacheline
186 186
187 def init_cache(self, d): 187 def init_cache(self, cachedir):
188 # Check if we already have the caches 188 # Check if we already have the caches
189 if self.pythoncache: 189 if self.pythoncache:
190 return 190 return
191 191
192 MultiProcessCache.init_cache(self, d) 192 MultiProcessCache.init_cache(self, cachedir)
193 193
194 # cachedata gets re-assigned in the parent 194 # cachedata gets re-assigned in the parent
195 self.pythoncache = self.cachedata[0] 195 self.pythoncache = self.cachedata[0]
@@ -201,8 +201,8 @@ class CodeParserCache(MultiProcessCache):
201 201
202codeparsercache = CodeParserCache() 202codeparsercache = CodeParserCache()
203 203
204def parser_cache_init(d): 204def parser_cache_init(cachedir):
205 codeparsercache.init_cache(d) 205 codeparsercache.init_cache(cachedir)
206 206
207def parser_cache_save(): 207def parser_cache_save():
208 codeparsercache.save_extras() 208 codeparsercache.save_extras()