summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdepcheck.py15
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)