From 8f96bd2c723448ebf9dca28808942b6599d818c3 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Fri, 6 Jul 2007 06:53:27 +0000 Subject: [PATCH] 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 --- django/core/mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/mail.py b/django/core/mail.py index 96a32ed62d..325812a5d2 100644 --- a/django/core/mail.py +++ b/django/core/mail.py @@ -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))