Package: python-boto
Version: 1.0a-1
Severity: normal

Hi !

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].

All this is done in connection.py in AWSAuthConnection.__init__.

Thanks.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.1-zoro.16
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-boto depends on:
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-support                0.7.6      automated rebuilding support for p

python-boto recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to