On 2/21/19 11:37 AM, Andreas Beckmann wrote:
> Did someone consider using
>
> apt-config dump Acquire::http::Proxy
>
What I should did at first.
It seems that it is not necessary to get just the
http part.
if proxy:
lines.append('Acquire::http::Proxy "%s";\n' % proxy)
https://salsa.debian.org/debian/piuparts/blob/develop/piuparts.py#L1043