bitbake:cache.py: remove the add()
cover bitbake:cache.py: remove the add()
The following changes since commit b314ad28a618d59429c790df7e2cdb6682c3149e:
sanity.bbclass: check that TMPDIR is not located on nfs (2014-01-22 18:45:59 +0800)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib rbt/cache
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/cache
Robert Yang (1):
bitbake:cache.py: remove the add()
bitbake/lib/bb/cache.py | 13 ------------- 1 file changed, 13 deletions(-)
Signature · 1 line
1.8.3.1
PATCH 1/1 bitbake:cache.py: remove the add()
No one uses the add(), so remove it.
Signed-off-by Robert Yang <[email protected]>
--- bitbake/lib/bb/cache.py | 13 ------------- 1 file changed, 13 deletions(-)
bitbake/lib/bb/cache.py +0 -13
@@ -630,19 +630,6 @@ class Cache(object): self.cacheclean = False self.depends_cache[filename] = info_array - def add(self, file_name, data, cacheData, parsed=None): - """ - Save data we need into the cache - """ - - realfn = self.virtualfn2realfn(file_name)[0] - - info_array = [] - for cache_class in self.caches_array: - if type(cache_class) is type and issubclass(cache_class, RecipeInfoCommon): - info_array.append(cache_class(realfn, data)) - self.add_info(file_name, info_array, cacheData, parsed) - @staticmethod def load_bbfile(bbfile, appends, config): """
Signature · 1 line
1.8.3.1