Skip to content

Commit 61563b4

Browse files
author
Johannes Gijsbers
committed
Let standard_message accept a different author.
1 parent d4c144c commit 61563b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

roundup/mailer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Sending Roundup-specific mail over SMTP."""
2-
# $Id: mailer.py,v 1.1 2003-09-08 09:28:28 jlgijsbers Exp $
2+
# $Id: mailer.py,v 1.2 2003-09-08 21:08:59 jlgijsbers Exp $
33

44
import time, quopri, os, socket, smtplib, re
55

@@ -41,8 +41,8 @@ def get_standard_message(self, to, subject, author=None):
4141

4242
return message, writer
4343

44-
def standard_message(self, to, subject, content):
45-
message, writer = self.get_standard_message(to, subject)
44+
def standard_message(self, to, subject, content, author=None):
45+
message, writer = self.get_standard_message(to, subject, author)
4646

4747
writer.addheader('Content-Transfer-Encoding', 'quoted-printable')
4848
body = writer.startbody('text/plain; charset=utf-8')

0 commit comments

Comments
 (0)