mirror of
https://github.com/python/cpython.git
synced 2025-08-25 19:24:42 +00:00
SF #515011, cleanup: remove "or 0" condition
This commit is contained in:
parent
7fd41ccdb1
commit
22c5d77d47
1 changed files with 1 additions and 2 deletions
|
@ -607,8 +607,7 @@ class FakeSocket:
|
|||
buf = self.__ssl.read()
|
||||
except socket.sslerror, err:
|
||||
if (err[0] == socket.SSL_ERROR_WANT_READ
|
||||
or err[0] == socket.SSL_ERROR_WANT_WRITE
|
||||
or 0):
|
||||
or err[0] == socket.SSL_ERROR_WANT_WRITE):
|
||||
continue
|
||||
if err[0] == socket.SSL_ERROR_ZERO_RETURN:
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue