From f5a132314a96d29d2cc9fc4d31621e2220d1b273 Mon Sep 17 00:00:00 2001 From: Alex Myers Date: Tue, 17 Jan 2023 10:46:51 -0600 Subject: [PATCH] reckless: remove extraneous web request --- tools/reckless | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/reckless b/tools/reckless index 21145f7f3..b614087ec 100755 --- a/tools/reckless +++ b/tools/reckless @@ -344,11 +344,6 @@ def _install_plugin(src: InstInfo) -> bool: print('error: reckless install directory unavailable') sys.exit(2) - # FIXME: This request seems rather pointless - req = urlopen(src.repo, timeout=10) - if not req.status == 200: - print('plugin source repository unavailable') - sys.exit(1) # Use a unique directory for each cloned repo. clone_path = 'reckless-{}'.format(str(hash(os.times()))[-9:]) clone_path = Path(tempfile.gettempdir()) / clone_path