diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-04-18 12:55:03 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-04-18 12:55:03 +0200 |
| commit | 4514e8883fc10cb6e8b29fe78ede8bef41858a59 (patch) | |
| tree | ef7f04a2714fdf88656036f7fcf26458dfa43678 /UpdateManager | |
| parent | a34c35a2528041e658e541692adaa8b542a2e086 (diff) | |
| download | python-apt-4514e8883fc10cb6e8b29fe78ede8bef41858a59.tar.gz | |
* improved logging
* DistUpgrade/Changelog: added
Diffstat (limited to 'UpdateManager')
| -rw-r--r-- | UpdateManager/UpdateManager.py | 2 |
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) |
