mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 11:59:16 +01:00
reckless: remove extraneous web request
This commit is contained in:
parent
6163138420
commit
f5a132314a
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue