diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-20 14:48:02 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-20 14:48:02 (GMT) |
commit | ee4c0b9dcfb550094cca086a032d44393b5c3642 (patch) | |
tree | c04129c6917ab6ea583c417066b03afb81828552 /Lib/smtpd.py | |
parent | 000391b7de634635b493b680f14b907d767d8583 (diff) | |
parent | 74a49ac3f5ac3c7a09c691db4888c981a0cb3232 (diff) | |
download | cpython-ee4c0b9dcfb550094cca086a032d44393b5c3642.zip cpython-ee4c0b9dcfb550094cca086a032d44393b5c3642.tar.gz cpython-ee4c0b9dcfb550094cca086a032d44393b5c3642.tar.bz2 |
Issue #23681: Fixed Python 2 to 3 poring bugs.
Indexing bytes retiurns an integer, not bytes.
Diffstat (limited to 'Lib/smtpd.py')
-rwxr-xr-x | Lib/smtpd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/smtpd.py b/Lib/smtpd.py index 33653d4..0fae170 100755 --- a/Lib/smtpd.py +++ b/Lib/smtpd.py @@ -154,7 +154,7 @@ class SMTPChannel(asynchat.async_chat): else: self._emptystring = b'' self._linesep = b'\r\n' - self._dotsep = b'.' + self._dotsep = ord(b'.') self._newline = b'\n' self._set_rset_state() self.seen_greeting = '' |