Skip to content

Commit a23824c

Browse files
author
Richard Jones
committed
*** empty log message ***
1 parent 9b0fbf5 commit a23824c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

TODO.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
This file has been re-purposed to contain specifically the items that need
2-
doing before the next release:
1+
This file contains items that need doing before the next release:
32

43
- ensure index creation is triggered by the version 1->2 update
54
(and other upgrade tests)

roundup/mailer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Sending Roundup-specific mail over SMTP.
22
"""
33
__docformat__ = 'restructuredtext'
4-
# $Id: mailer.py,v 1.8 2004-03-25 22:52:12 richard Exp $
4+
# $Id: mailer.py,v 1.9 2004-03-25 22:53:26 richard Exp $
55

66
import time, quopri, os, socket, smtplib, re
77

@@ -99,8 +99,6 @@ def bounce_message(self, bounced_message, to, error,
9999
- subject: the subject as a string.
100100
101101
"""
102-
message, writer = self.get_standard_message(to, subject)
103-
104102
# see whether we should send to the dispatcher or not
105103
dispatcher_email = getattr(self.config, "DISPATCHER_EMAIL",
106104
getattr(self.config, "ADMIN_EMAIL"))
@@ -110,6 +108,8 @@ def bounce_message(self, bounced_message, to, error,
110108
elif error_messages_to == "both":
111109
to.append(dispatcher_email)
112110

111+
message, writer = self.get_standard_message(to, subject)
112+
113113
part = writer.startmultipartbody('mixed')
114114
part = writer.nextpart()
115115
part.addheader('Content-Transfer-Encoding', 'quoted-printable')

0 commit comments

Comments
 (0)