Skip to content

Commit 3c3c112

Browse files
author
Johannes Gijsbers
committed
Oops.
1 parent fa64b75 commit 3c3c112

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/mailgw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class node. Any parts of other types are each stored in separate files
7373
an exception, the original message is bounced back to the sender with the
7474
explanatory message given in the exception.
7575
76-
$Id: mailgw.py,v 1.131 2003-09-08 21:18:56 jlgijsbers Exp $
76+
$Id: mailgw.py,v 1.132 2003-09-08 21:27:16 jlgijsbers Exp $
7777
"""
7878

7979
import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri
@@ -440,7 +440,7 @@ def handle_message(self, message):
440440
self.db.confirm_registration(otk.group('otk'))
441441
subject = 'Your registration to %s is complete' % \
442442
self.instance.config.TRACKER_NAME
443-
sendto = [message.getaddrlist('from')[0][1]]
443+
sendto = message.getaddrlist('from')[0][1]
444444
self.mailer.standard_message(sendto, subject, '')
445445
return
446446
elif hasattr(self.instance.config, 'MAIL_DEFAULT_CLASS') and \

0 commit comments

Comments
 (0)