Skip to content

Commit 277bc11

Browse files
committed
Use proxy server also for FTP .treeinfo download
We missed ftp prefix in the list of schemes. Resolves: RHEL-27938
1 parent 825cbe9 commit 277bc11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyanaconda/modules/payloads/payload/dnf/tree_info.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@ def _get_downloader(self, session, data):
274274
proxy = ProxyString(proxy_url)
275275
proxies = {
276276
"http": proxy.url,
277-
"https": proxy.url
277+
"https": proxy.url,
278+
"ftp": proxy.url
278279
}
279280
except ProxyStringError as e:
280281
log.debug("Failed to parse the proxy '%s': %s", proxy_url, e)

0 commit comments

Comments
 (0)