aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/boost
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-05-03 12:08:15 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-05-03 12:08:15 +0300
commit33b294a6697a3cb1a9cf2799f60ea8c694b8a2ff (patch)
treeaa6897f663bc652da77c2a5f313e4f9bb8fa9126 /project/boost
parentproject.utils: don't print fatal exception twice (diff)
downloadcmake-common-33b294a6697a3cb1a9cf2799f60ea8c694b8a2ff.tar.gz
cmake-common-33b294a6697a3cb1a9cf2799f60ea8c694b8a2ff.zip
project.boost: remove unused code
Diffstat (limited to 'project/boost')
-rw-r--r--project/boost/download.py6
1 files changed, 0 insertions, 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: