diff --git a/remote.py b/remote.py index 216fa9e..f1a4683 100644 --- a/remote.py +++ b/remote.py @@ -28,8 +28,6 @@ class Remote: links = sorted(hypertext.get_links(html)) archives = [link for link in links if link.endswith(ARCHIVE)] - signatures = [link for link in links - if link.endswith(SIGNATURE)] archive = archives[-1] d[architecture] = archive self.archives = d diff --git a/repository.py b/repository.py index 7bf0a56..5d46fa5 100644 --- a/repository.py +++ b/repository.py @@ -21,7 +21,7 @@ class Repository: directory = os.path.join(distribution, architecture) _, _, files = next(os.walk(directory)) archives = sorted([file for file in files - if file.endswith(remote.ARCHIVE)]) + if file.endswith(remote.ARCHIVE)]) archive = archives[-1] d[architecture] = archive self.archives = d