From 0382d2e342ad3dbb1dc5da9cdc07c671c7574bf8 Mon Sep 17 00:00:00 2001 From: CreateSource Date: Fri, 22 Nov 2024 23:51:37 -0500 Subject: [PATCH] remove download_tool.py edit --- tools/download_tool.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/download_tool.py b/tools/download_tool.py index 09b002a5..f4512d01 100644 --- a/tools/download_tool.py +++ b/tools/download_tool.py @@ -20,8 +20,6 @@ import urllib.request import zipfile from typing import Callable, Dict from pathlib import Path -import certifi -import ssl def binutils_url(tag): @@ -106,7 +104,7 @@ def main() -> None: print(f"Downloading {url} to {output}") req = urllib.request.Request(url, headers={"User-Agent": "Mozilla/5.0"}) - with urllib.request.urlopen(req, context=ssl.create_default_context(cafile=certifi.where())) as response: + with urllib.request.urlopen(req) as response: if url.endswith(".zip"): data = io.BytesIO(response.read()) with zipfile.ZipFile(data) as f: