Skip to contentSkip to conversation

bitbake: cache: Remove bad keys() function

PATCH New Joshua Watt 1 participant 1 message Nov 10, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake: cache: Remove bad keys() function

Removes the keys() function from the MulticonfigCache. This appears to be a leftover from before the class inherited from collections.Mapping, is now unnecessary, and was outright incorrect.

---
 bitbake/lib/bb/cache.py | 4 ----
 1 file changed, 4 deletions(-)
bitbake/lib/bb/cache.py +0 -4
index ebb2422496..b8054e028b 100644
@@ -814,10 +814,6 @@ class MulticonfigCache(Mapping):
         for k in self.__caches:
             yield k
 
-    def keys(self):
-        return self.__caches[key]
-
-
 def init(cooker):
     """
     The Objective: Cache the minimum amount of data possible yet get to the
Signature · 1 line
2.29.2