All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] bitbake:cache.py: remove the add()
@ 2014-01-22 10:55 Robert Yang
  2014-01-22 10:55 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2014-01-22 10:55 UTC (permalink / raw)
  To: bitbake-devel

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(-)

-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] bitbake:cache.py: remove the add()
  2014-01-22 10:55 [PATCH 0/1] bitbake:cache.py: remove the add() Robert Yang
@ 2014-01-22 10:55 ` Robert Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2014-01-22 10:55 UTC (permalink / raw)
  To: bitbake-devel

No one uses the add(), so remove it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 bitbake/lib/bb/cache.py | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 318781b..3486031 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -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):
         """
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-22 10:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-22 10:55 [PATCH 0/1] bitbake:cache.py: remove the add() Robert Yang
2014-01-22 10:55 ` [PATCH 1/1] " Robert Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.