From b33b8a3e29f9cdff2759f941169fbb1defa6e041 Mon Sep 17 00:00:00 2001 From: Andras Wacha Date: Mon, 9 Dec 2019 18:18:08 +0100 Subject: [PATCH] Apply URLFetchStrategy to ftp:// and ftps:// url schemes (#13939) * Apply URLFetchStrategy to ftp:// and ftps:// url schemes * Corrected trailing whitespace error --- lib/spack/spack/fetch_strategy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/spack/spack/fetch_strategy.py b/lib/spack/spack/fetch_strategy.py index 409cc334ee..13958fbdae 100644 --- a/lib/spack/spack/fetch_strategy.py +++ b/lib/spack/spack/fetch_strategy.py @@ -1311,7 +1311,9 @@ def from_url_scheme(url, *args, **kwargs): { 'file': 'url', 'http': 'url', - 'https': 'url' + 'https': 'url', + 'ftp': 'url', + 'ftps': 'url', }) scheme = parsed_url.scheme