File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ from email.charset import Charset
39
39
from Mailman import mm_cfg
40
40
from Mailman import Utils
41
41
from Mailman import MailList
42
- from Mailman.Message import Message
42
+ from Mailman.Message import UserNotification
43
43
from Mailman import i18n
44
44
45
45
# Work around known problems with some RedHat cron daemons
@@ -104,10 +104,10 @@ def main():
104
104
else:
105
105
subject = _(
106
106
'%(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)
111
111
msg.send(mlist, **{'tomoderators': 1})
112
112
finally:
113
113
mlist.Unlock()
You can’t perform that action at this time.
0 commit comments