Skip to contentSkip to conversation

fetch2/wget: Enable ftps

PATCH New Daniel Ammann 1 participant 1 message Sep 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fetch2/wget: Enable ftps

The fetcher would fail with:
Could not find a fetcher which supports the URL: ftps://...

---
 lib/bb/fetch2/wget.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/fetch2/wget.py +1 -1
index 9a49e64a0..349891e85 100644
@@ -69,7 +69,7 @@ class Wget(FetchMethod):
         """
         Check to see if a given url can be fetched with wget.
         """
-        return ud.type in ['http', 'https', 'ftp']
+        return ud.type in ['http', 'https', 'ftp', 'ftps']
 
     def recommends_checksum(self, urldata):
         return True
Signature · 1 line
2.20.1