From: Dmitry Selyutin <ghostmansd@gmail.com> Date: Tue, 12 Sep 2017 16:55:28 +0000 (+0300) Subject: config/cache: use the same keys as base class X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=7f54cc561a567b1d1dc52db41dc6a3a86465f8b6;p=gnulib.git config/cache: use the same keys as base class --- diff --git a/pygnulib/config.py b/pygnulib/config.py index 13177e44d1..aff0693bcf 100644 --- a/pygnulib/config.py +++ b/pygnulib/config.py @@ -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)