From 5c1b00a03221f55ac48b0d34030160cf55b4225f Mon Sep 17 00:00:00 2001 From: Augie Fackler Date: Tue, 5 Oct 2010 08:10:02 -0500 Subject: 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. --- python2/httplib2/test/brokensocket/socket.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 python2/httplib2/test/brokensocket/socket.py (limited to 'python2/httplib2/test/brokensocket/socket.py') 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 -- cgit v1.2.1