1
0
mirror of https://github.com/django/django.git synced 2025-02-26 02:04:52 +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:
Malcolm Tredinnick 2007-07-06 06:53:27 +00:00
parent 0816f380d2
commit 8f96bd2c72

View File

@ -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))