Ticket #13694: change.diff
File change.diff, 1.3 KB (added by , 14 years ago) |
---|
-
django/core/mail/message.py
78 78 79 79 class SafeMIMEText(MIMEText): 80 80 81 def __init__(self, text, subtype,charset):82 self.encoding = charset83 MIMEText.__init__(self, text, subtype,charset)81 def __init__(self, _text, _subtype, _charset): 82 self.encoding = _charset 83 MIMEText.__init__(self, _text, _subtype, _charset) 84 84 85 85 def __setitem__(self, name, val): 86 86 name, val = forbid_multi_line_headers(name, val, self.encoding)