Ticket #13694: change.diff

File change.diff, 1.3 KB (added by Dave Naffziger, 14 years ago)
  • django/core/mail/message.py

     
    7878
    7979class SafeMIMEText(MIMEText):
    8080   
    81     def __init__(self, text, subtype, charset):
    82         self.encoding = charset
    83         MIMEText.__init__(self, text, subtype, charset)
     81    def __init__(self, _text, _subtype, _charset):
     82        self.encoding = _charset
     83        MIMEText.__init__(self, _text, _subtype, _charset)
    8484   
    8585    def __setitem__(self, name, val):   
    8686        name, val = forbid_multi_line_headers(name, val, self.encoding)
Back to Top