summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-12-31 04:10:35 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-12-31 04:10:35 (GMT)
commitc071d3a41caabf6a8da75e3f30cf32dff2605a18 (patch)
tree0f21afc055dc96fc1971cc5265d8dff979d9226c /Lib
parent9c069fd76ea3442ed85da069e8d996afc2888a9f (diff)
downloadcpython-c071d3a41caabf6a8da75e3f30cf32dff2605a18.zip
cpython-c071d3a41caabf6a8da75e3f30cf32dff2605a18.tar.gz
cpython-c071d3a41caabf6a8da75e3f30cf32dff2605a18.tar.bz2
fix name usage
Diffstat (limited to 'Lib')
-rw-r--r--Lib/ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ssl.py b/Lib/ssl.py
index 92883e9..d3c1d32 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: