diff options
author | Barry Warsaw <barry@python.org> | 2001-10-04 17:05:11 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-10-04 17:05:11 (GMT) |
commit | e968ead1dd80fd7fb97cd273626b530996ea0c7b (patch) | |
tree | 986c2f9398dfb612c92f1b20c14702c9aa7390ad /Lib/email/Encoders.py | |
parent | a68ca35a8bc56d572ac6ab343ce6359bbd3ab5cc (diff) | |
download | cpython-e968ead1dd80fd7fb97cd273626b530996ea0c7b.zip cpython-e968ead1dd80fd7fb97cd273626b530996ea0c7b.tar.gz cpython-e968ead1dd80fd7fb97cd273626b530996ea0c7b.tar.bz2 |
Give me back my page breaks.
Diffstat (limited to 'Lib/email/Encoders.py')
-rw-r--r-- | Lib/email/Encoders.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/email/Encoders.py b/Lib/email/Encoders.py index 0425e5c..d9cd42d 100644 --- a/Lib/email/Encoders.py +++ b/Lib/email/Encoders.py @@ -8,7 +8,7 @@ import base64 from quopri import encodestring as _encodestring - + # Helpers def _qencode(s): return _encodestring(s, quotetabs=1) @@ -26,7 +26,7 @@ def _bencode(s): return value - + def encode_base64(msg): """Encode the message's payload in Base64. @@ -38,7 +38,7 @@ def encode_base64(msg): msg['Content-Transfer-Encoding'] = 'base64' - + def encode_quopri(msg): """Encode the message's payload in Quoted-Printable. @@ -50,7 +50,7 @@ def encode_quopri(msg): msg['Content-Transfer-Encoding'] = 'quoted-printable' - + def encode_7or8bit(msg): """Set the Content-Transfer-Encoding: header to 7bit or 8bit.""" orig = msg.get_payload() @@ -64,6 +64,6 @@ def encode_7or8bit(msg): msg['Content-Transfer-Encoding'] = '7bit' - + def encode_noop(msg): """Do nothing.""" |