Remove obsolete comment.

This commit is contained in:
R David Murray 2011-03-15 12:48:41 -04:00
parent 56a9d7e3da
commit 106f8e3ea4
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ class Message:
raise TypeError('Expected list, got %s' % type(self._payload))
payload = self._payload
cte = self.get('content-transfer-encoding', '').lower()
# payload can be bytes here, (I wonder if that is actually a bug?)
# payload may be bytes here.
if isinstance(payload, str):
if _has_surrogates(payload):
bpayload = payload.encode('ascii', 'surrogateescape')