diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-02-11 17:59:51 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-02-11 17:59:51 (GMT) |
commit | 22c5d77d47ad0738b346f5301ead38a5927f1a91 (patch) | |
tree | ad9c16a04c0381806956ce403d47664770fb6388 /Lib | |
parent | 7fd41ccdb1cfa9d1ef17eca2a915784c7fe63fb6 (diff) | |
download | cpython-22c5d77d47ad0738b346f5301ead38a5927f1a91.zip cpython-22c5d77d47ad0738b346f5301ead38a5927f1a91.tar.gz cpython-22c5d77d47ad0738b346f5301ead38a5927f1a91.tar.bz2 |
SF #515011, cleanup: remove "or 0" condition
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/httplib.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py index 0fd6ab4..cd0bdb9 100644 --- a/Lib/httplib.py +++ b/Lib/httplib.py @@ -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 |