summaryrefslogtreecommitdiffstats
path: root/Lib/email/Encoders.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/email/Encoders.py')
-rw-r--r--Lib/email/Encoders.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/email/Encoders.py b/Lib/email/Encoders.py
index d9cd42d..0425e5c 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."""