Browse files

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
  • Loading branch information...
1 parent 0816f38 commit 8f96bd2c723448ebf9dca28808942b6599d818c3 @malcolmt malcolmt committed Jul 6, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/mail.py
View
2 django/core/mail.py
@@ -265,7 +265,7 @@ def attach(self, filename=None, content=None, mimetype=None):
"""
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))

0 comments on commit 8f96bd2

Please sign in to comment.