From 6b129ec0c991536b7e61e204faa6886b6f086494 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 15 Nov 2011 10:01:37 -0500 Subject: [PATCH] urllib3 fix --- requests/packages/urllib3/connectionpool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests/packages/urllib3/connectionpool.py b/requests/packages/urllib3/connectionpool.py index 4c2c6b5..8b10dc7 100644 --- a/requests/packages/urllib3/connectionpool.py +++ b/requests/packages/urllib3/connectionpool.py @@ -338,7 +338,7 @@ class HTTPConnectionPool(ConnectionPool, RequestMethods): except (SocketTimeout, Empty), e: # Timed out either by socket or queue - raise TimeoutError("Request timed out after %f seconds" % + raise TimeoutError("Request timed out after %s seconds" % self.timeout) except (BaseSSLError), e: -- 2.7.4