From c071d3a41caabf6a8da75e3f30cf32dff2605a18 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 31 Dec 2008 04:10:35 +0000 Subject: [PATCH] fix name usage --- Lib/ssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/ssl.py b/Lib/ssl.py index 92883e9aa1c..d3c1d32c72a 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py @@ -114,7 +114,7 @@ class SSLSocket(socket): # see if it's connected try: socket.getpeername(self) - except socket.error: + except socket_error: # no, no connection yet self._sslobj = None else: