From 33b294a6697a3cb1a9cf2799f60ea8c694b8a2ff Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 3 May 2021 12:08:15 +0300 Subject: project.boost: remove unused code --- project/boost/download.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/project/boost/download.py b/project/boost/download.py index 708e457..d13b63e 100644 --- a/project/boost/download.py +++ b/project/boost/download.py @@ -81,12 +81,6 @@ class Download: logging.error("Couldn't download from this mirror, an error occured:") logging.exception(e) - @contextmanager - def _try_primary_url(self): - urls = self.version.get_download_urls() - for url in urls: - return self._try_url(url) - def _try_urls(self): urls = self.version.get_download_urls() for url in urls: -- cgit v1.2.3