[Python-3000-checkins] r56498 - python/branches/py3k-struni/Lib/poplib.py

collin.winter python-3000-checkins at python.org
Mon Jul 23 02:24:10 CEST 2007


Author: collin.winter
Date: Mon Jul 23 02:24:10 2007
New Revision: 56498

Modified:
   python/branches/py3k-struni/Lib/poplib.py
Log:
Fix test_poplib failures.

Modified: python/branches/py3k-struni/Lib/poplib.py
==============================================================================
--- python/branches/py3k-struni/Lib/poplib.py	(original)
+++ python/branches/py3k-struni/Lib/poplib.py	Mon Jul 23 02:24:10 2007
@@ -123,7 +123,7 @@
         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
 


More information about the Python-3000-checkins mailing list