Files
requests3/requests
Chris Adams 0b41cec7a4 get_netrc_auth: handle os.path.expanduser failure
os.path.expanduser can raise a KeyError when $HOME is not set and the
POSIX getpwuid() call fails, which can happen when running under a UID
which is not in /etc/passwd or when the password file cannot be read.

The upstream bug report http://bugs.python.org/issue20164 is unlikely to
be backported to Python 2.x even if fixed so this change handles
KeyError by skipping netrc authentication.

Closes #1846
2014-01-07 11:34:51 -05:00
..
2013-12-05 17:41:25 -05:00
2013-12-04 06:45:18 -06:00
2013-12-05 17:51:10 -05:00
2013-01-27 02:04:12 +01:00
2013-12-19 18:02:56 +09:00
2013-12-17 22:55:50 -06:00