]> Savannah Git Hosting - gnulib.git/commitdiff
config/cache: use the same keys as base class
authorDmitry Selyutin <ghostmansd@gmail.com>
Tue, 12 Sep 2017 16:55:28 +0000 (19:55 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Tue, 12 Sep 2017 18:33:32 +0000 (21:33 +0300)
pygnulib/config.py

index 13177e44d1fa78f3867a96c5c9b02c8461736e83..aff0693bcfa32977332b5e4eca64a62b294bdda4 100644 (file)
@@ -531,11 +531,3 @@ class Cache(Base):
         match = pattern.findall(data)
         if match:
             self.files = [_.strip() for _ in match[-1].split("\n") if _.strip()]
-
-
-    def keys(self):
-        keys = set()
-        keys.update(Cache._AUTOCONF_.keys())
-        keys.update(Cache._GNULIB_CACHE_.keys())
-        keys.update(["files"])
-        return (_ for _ in keys)