Don't set self.base to the proxy address - it generates invalid filenames causing operations to fail

This commit is contained in:
Iain Lane 2008-09-29 11:25:43 +01:00
parent 7a13c54ca5
commit 43af4c2d54

View File

@ -107,10 +107,10 @@ class pbuilder_dist:
self.target_distro = self.system_distro
if 'http_proxy' in os.environ:
self.base = os.environ['http_proxy']
elif 'HTTP_PROXY' in os.environ:
self.base = os.environ['HTTP_PROXY']
# if 'http_proxy' in os.environ:
# self.base = os.environ['http_proxy']
# elif 'HTTP_PROXY' in os.environ:
# self.base = os.environ['HTTP_PROXY']
##############################################################