From 8164f165b03d477828d683925e15efb09c997c91 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 9 Oct 2021 20:03:12 +0200 Subject: [PATCH] lint --- remote.py | 2 -- repository.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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