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
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ class EmailMessage(object):
""" """
if isinstance(filename, MIMEBase): if isinstance(filename, MIMEBase):
assert content == mimetype == None assert content == mimetype == None
self.attachements.append(filename) self.attachments.append(filename)
else: else:
assert content is not None assert content is not None
self.attachments.append((filename, content, mimetype)) self.attachments.append((filename, content, mimetype))