[Python-checkins] r68091 - python/branches/py3k/Lib/ssl.py
benjamin.peterson
python-checkins at python.org
Wed Dec 31 04:43:28 CET 2008
Author: benjamin.peterson
Date: Wed Dec 31 04:43:28 2008
New Revision: 68091
Log:
#4788 qualify remove a bare except
Modified:
python/branches/py3k/Lib/ssl.py
Modified: python/branches/py3k/Lib/ssl.py
==============================================================================
--- python/branches/py3k/Lib/ssl.py (original)
+++ python/branches/py3k/Lib/ssl.py Wed Dec 31 04:43:28 2008
@@ -114,7 +114,7 @@
# see if it's connected
try:
socket.getpeername(self)
- except:
+ except socket.error:
# no, no connection yet
self._sslobj = None
else:
More information about the Python-checkins
mailing list