summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2003-03-06 05:25:00 (GMT)
committerBarry Warsaw <barry@python.org>2003-03-06 05:25:00 (GMT)
commit5c2f1536d0aa44bbbafbd38431f9efaf5a5ab0c3 (patch)
tree030ced3399c4100e323a322cdbadb9334729c23b
parent5d384ef069a84f57860325745b2238aeb6dffe9d (diff)
downloadcpython-5c2f1536d0aa44bbbafbd38431f9efaf5a5ab0c3.zip
cpython-5c2f1536d0aa44bbbafbd38431f9efaf5a5ab0c3.tar.gz
cpython-5c2f1536d0aa44bbbafbd38431f9efaf5a5ab0c3.tar.bz2
Merge of the folding-reimpl-branch. Specific changes,
Remove a senseless comment.
-rw-r--r--Lib/email/base64MIME.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/email/base64MIME.py b/Lib/email/base64MIME.py
index 56e44e1..a247773 100644
--- a/Lib/email/base64MIME.py
+++ b/Lib/email/base64MIME.py
@@ -102,9 +102,6 @@ def header_encode(header, charset='iso-8859-1', keep_eols=False,
max_encoded = maxlinelen - len(charset) - MISC_LEN
max_unencoded = _floordiv(max_encoded * 3, 4)
- # BAW: Ben's original code used a step of max_unencoded, but I think it
- # ought to be max_encoded. Otherwise, where's max_encoded used? I'm
- # still not sure what the
for i in range(0, len(header), max_unencoded):
base64ed.append(b2a_base64(header[i:i+max_unencoded]))