summaryrefslogtreecommitdiffstats
path: root/Lib/httplib.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-02-11 17:59:51 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-02-11 17:59:51 (GMT)
commit22c5d77d47ad0738b346f5301ead38a5927f1a91 (patch)
treead9c16a04c0381806956ce403d47664770fb6388 /Lib/httplib.py
parent7fd41ccdb1cfa9d1ef17eca2a915784c7fe63fb6 (diff)
downloadcpython-22c5d77d47ad0738b346f5301ead38a5927f1a91.zip
cpython-22c5d77d47ad0738b346f5301ead38a5927f1a91.tar.gz
cpython-22c5d77d47ad0738b346f5301ead38a5927f1a91.tar.bz2
SF #515011, cleanup: remove "or 0" condition
Diffstat (limited to 'Lib/httplib.py')
-rw-r--r--Lib/httplib.py3
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