File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ from email.charset import Charset
3939from Mailman import mm_cfg
4040from Mailman import Utils
4141from Mailman import MailList
42- from Mailman.Message import Message
42+ from Mailman.Message import UserNotification
4343from Mailman import i18n
4444
4545# Work around known problems with some RedHat cron daemons
@@ -104,10 +104,10 @@ def main():
104104 else:
105105 subject = _(
106106 '%(realname)s moderator request check result')
107- msg = Mailman.Message. UserNotification(mlist.GetOwnerEmail(),
108- mlist.GetBouncesEmail(),
109- subject, text,
110- mlist.preferred_language)
107+ msg = UserNotification(mlist.GetOwnerEmail(),
108+ mlist.GetBouncesEmail(),
109+ subject, text,
110+ mlist.preferred_language)
111111 msg.send(mlist, **{'tomoderators': 1})
112112 finally:
113113 mlist.Unlock()
You can’t perform that action at this time.
0 commit comments