summaryrefslogtreecommitdiff
path: root/UpdateManager
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-04-18 12:55:03 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-04-18 12:55:03 +0200
commit4514e8883fc10cb6e8b29fe78ede8bef41858a59 (patch)
treeef7f04a2714fdf88656036f7fcf26458dfa43678 /UpdateManager
parenta34c35a2528041e658e541692adaa8b542a2e086 (diff)
downloadpython-apt-4514e8883fc10cb6e8b29fe78ede8bef41858a59.tar.gz
* improved logging
* DistUpgrade/Changelog: added
Diffstat (limited to 'UpdateManager')
-rw-r--r--UpdateManager/UpdateManager.py2
1 files changed, 2 insertions, 0 deletions
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)