From: Benjamin Peterson Date: Wed, 31 Dec 2008 04:10:35 +0000 (+0000) Subject: fix name usage X-Git-Tag: v3.1a1~627 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c071d3a41caabf6a8da75e3f30cf32dff2605a18;p=thirdparty%2FPython%2Fcpython.git fix name usage --- diff --git a/Lib/ssl.py b/Lib/ssl.py index 92883e9aa1c8..d3c1d32c72a3 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: