Fixed #4781 -- Typo fix. Pointed out by Simon Litchfield.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
0816f380d2
commit
8f96bd2c72
|
@ -265,7 +265,7 @@ class EmailMessage(object):
|
|||
"""
|
||||
if isinstance(filename, MIMEBase):
|
||||
assert content == mimetype == None
|
||||
self.attachements.append(filename)
|
||||
self.attachments.append(filename)
|
||||
else:
|
||||
assert content is not None
|
||||
self.attachments.append((filename, content, mimetype))
|
||||
|
|
Loading…
Reference in New Issue