diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-03-22 15:07:09 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-03-22 15:07:09 (GMT) |
commit | 37c1f18a7224e00f61b2141420c24dc6f391abb9 (patch) | |
tree | 4edb14504ae7fb051a0ac9f554904374918dcf7f /Lib/ssl.py | |
parent | 5733c08f55e9bf1ff5ac79908d941581feafea57 (diff) | |
download | cpython-37c1f18a7224e00f61b2141420c24dc6f391abb9.zip cpython-37c1f18a7224e00f61b2141420c24dc6f391abb9.tar.gz cpython-37c1f18a7224e00f61b2141420c24dc6f391abb9.tar.bz2 |
Fix a blunder in r79287. This part is, obviously, poorly tested (if at all).
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r-- | Lib/ssl.py | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -257,15 +257,6 @@ class SSLSocket(socket): raise ValueError( "non-zero flags not allowed in calls to recv_into() on %s" % self.__class__) - while True: - try: - v = self.read(nbytes, buffer) - return v - except SSLError as x: - if x.args[0] == SSL_ERROR_WANT_READ: - continue - else: - raise x return self.read(nbytes, buffer) else: return socket.recv_into(self, buffer, nbytes, flags) |