From 4514e8883fc10cb6e8b29fe78ede8bef41858a59 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 18 Apr 2006 12:55:03 +0200 Subject: * improved logging * DistUpgrade/Changelog: added --- UpdateManager/UpdateManager.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'UpdateManager') diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py index 45638838..49e2ddf5 100644 --- a/UpdateManager/UpdateManager.py +++ b/UpdateManager/UpdateManager.py @@ -285,6 +285,8 @@ class UpdateManager(SimpleGladeApp): proxy_host = cnf.Find("Synaptic::httpProxy") proxy_port = str(cnf.FindI("Synaptic::httpProxyPort")) if proxy_host and proxy_port: + # FIXME: set the proxy for libapt here as well (e.g. for the + # DistUpgradeFetcher proxy_support = urllib2.ProxyHandler({"http":"http://%s:%s" % (proxy_host, proxy_port)}) opener = urllib2.build_opener(proxy_support) urllib2.install_opener(opener) -- cgit v1.2.3