mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user