diff options
author | Helmut Grohne <helmut@subdivi.de> | 2020-10-09 22:48:39 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2020-10-09 22:48:39 +0200 |
commit | 0173c9575c7cf6f517264f77624206380a8e13cb (patch) | |
tree | 3fe276bc18e45c7b4a4e2990e46336f7ac315b5c | |
parent | f6d219e1a4fddc0abb11b2235866d072789d1a13 (diff) | |
download | crossqa-0173c9575c7cf6f517264f77624206380a8e13cb.tar.gz |
depcheck.py: delete unused functions
-rwxr-xr-x | depcheck.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/depcheck.py b/depcheck.py index e3f3815..7d2a8dc 100755 --- a/depcheck.py +++ b/depcheck.py @@ -192,21 +192,6 @@ class DebianMirror: self.byhash = None self.files = {} - @staticmethod - def get_all_keyrings(): - yield "/etc/apt/trusted.gpg" - partsdir = "/etc/apt/trusted.gpg.d" - try: - for e in os.listdir(partsdir): - yield os.path.join(partsdir, e) - except FileNotFoundError: - pass - - @staticmethod - def get_keyrings(): - return filter(lambda f: os.access(f, os.R_OK), - DebianMirror.get_all_keyrings()) - def get_uri(self, filename): return "%s/dists/%s/%s" % (self.uri, self.dist, filename) |