diff options
| author | Augie Fackler <durin42@gmail.com> | 2010-10-05 08:10:02 -0500 |
|---|---|---|
| committer | Augie Fackler <durin42@gmail.com> | 2010-10-05 08:10:02 -0500 |
| commit | 5c1b00a03221f55ac48b0d34030160cf55b4225f (patch) | |
| tree | db136752e78022df9369a40cf16f1045cba6ccb5 /python2/httplib2/test/brokensocket/socket.py | |
| parent | a9d82cae27af6fe29929097214cf6d3cc54fbaa0 (diff) | |
| download | httplib2-5c1b00a03221f55ac48b0d34030160cf55b4225f.tar.gz | |
proxy support: degrade gracefully when socket.socket is unavailable
This should allow httplib2 to continue to work even on platforms like
appengine where the socket module exists but has no socket attribute.
Diffstat (limited to 'python2/httplib2/test/brokensocket/socket.py')
| -rw-r--r-- | python2/httplib2/test/brokensocket/socket.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python2/httplib2/test/brokensocket/socket.py b/python2/httplib2/test/brokensocket/socket.py new file mode 100644 index 0000000..ff7c0b7 --- /dev/null +++ b/python2/httplib2/test/brokensocket/socket.py @@ -0,0 +1 @@ +from realsocket import gaierror, error, getaddrinfo, SOCK_STREAM |
