Skip to content

Commit 74f7bc5

Browse files
committed
update checkdbs
1 parent 25bc259 commit 74f7bc5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cron/checkdbs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ from email.charset import Charset
3939
from Mailman import mm_cfg
4040
from Mailman import Utils
4141
from Mailman import MailList
42-
from Mailman.Message import Message
42+
from Mailman.Message import UserNotification
4343
from 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()

0 commit comments

Comments
 (0)