OoO Pendant le journal télévisé du lundi 21 janvier 2008, vers 20:40, Eric Evans <[EMAIL PROTECTED]> disait:
> tags 461148 patch upstream > thanks > [ Vincent Bernat ] >> Proxy support using http_proxy environment variable seems broken. Boto >> seems to wait http_proxy as "proxy:port", while the form of this >> variable is usually "http://proxy:port". Since it splits on ":", it >> gets a 3-tuple instead of a 2-tuple. >> >> Moreover, this variable can be empty. In this case, we get an >> exception because Boto tries to access to >> os.environ['http_proxy'].split(':')[1]. > I've submitted a bug upstream[1] and included the attached patch. > If you have the opportunity to try out the patch, please update the bug > report and let me know if there are any problems. Hi Éric ! I will try to complete your patch for a more complete support. http_proxy can also be of the form of http://user:[EMAIL PROTECTED]:port. In this case, your patch does not work. Maybe there is some code in urllib to correctly parse such a variable. I keep you tuned. Thanks. -- panic ("Splunge!"); 2.2.16 /usr/src/linux/drivers/scsi/psi240i.c

