summaryrefslogtreecommitdiffstats
path: root/Lib/poplib.py
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-07-23 00:24:10 (GMT)
committerCollin Winter <collinw@gmail.com>2007-07-23 00:24:10 (GMT)
commitf86f285bdd3555e4a66ef3a3644353fe1a43e732 (patch)
tree9dd7aa35a16a3908fa253e76ac3d56d3e23a8431 /Lib/poplib.py
parent33e7a8e8134e90635adb88871defc270e0043073 (diff)
downloadcpython-f86f285bdd3555e4a66ef3a3644353fe1a43e732.zip
cpython-f86f285bdd3555e4a66ef3a3644353fe1a43e732.tar.gz
cpython-f86f285bdd3555e4a66ef3a3644353fe1a43e732.tar.bz2
Fix test_poplib failures.
Diffstat (limited to 'Lib/poplib.py')
-rw-r--r--Lib/poplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/poplib.py b/Lib/poplib.py
index 0caed18..ead661f 100644
--- a/Lib/poplib.py
+++ b/Lib/poplib.py
@@ -123,7 +123,7 @@ class POP3:
resp, o = self._getline()
if self._debugging > 1: print('*resp*', repr(resp))
c = resp[:1]
- if c != '+':
+ if c != b'+':
raise error_proto(resp)
return resp