Skip to content

Commit

Permalink
Use proxy server also for FTP .treeinfo download
Browse files Browse the repository at this point in the history
We missed ftp prefix in the list of schemes.

Resolves: RHEL-27938
  • Loading branch information
jkonecny12 committed Aug 12, 2024
1 parent 825cbe9 commit 277bc11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyanaconda/modules/payloads/payload/dnf/tree_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ def _get_downloader(self, session, data):
proxy = ProxyString(proxy_url)
proxies = {
"http": proxy.url,
"https": proxy.url
"https": proxy.url,
"ftp": proxy.url
}
except ProxyStringError as e:
log.debug("Failed to parse the proxy '%s': %s", proxy_url, e)
Expand Down

0 comments on commit 277bc11

Please sign in to comment.