From 0173c9575c7cf6f517264f77624206380a8e13cb Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Fri, 9 Oct 2020 22:48:39 +0200 Subject: depcheck.py: delete unused functions --- depcheck.py | 15 --------------- 1 file changed, 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) -- cgit v1.2.3