From e1fbb68e4e0aaa18391beb4718864c739929f232 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 27 Sep 2014 22:48:30 +0200 Subject: [PATCH] Updated comment about Python issue --- django/core/mail/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/mail/message.py b/django/core/mail/message.py index 929611edf6..dcce9dcfe1 100644 --- a/django/core/mail/message.py +++ b/django/core/mail/message.py @@ -166,7 +166,7 @@ class SafeMIMEText(MIMEMixin, MIMEText): def __init__(self, text, subtype, charset): self.encoding = charset if charset == 'utf-8': - # Unfortunately, Python doesn't support setting a Charset instance + # Unfortunately, Python < 3.5 doesn't support setting a Charset instance # as MIMEText init parameter (http://bugs.python.org/issue16324). # We do it manually and trigger re-encoding of the payload. MIMEText.__init__(self, text, subtype, None)