From 3f33536dc41826eddb48321f7ca60637263e1fff Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Sat, 4 Aug 2001 02:06:06 +0000 Subject: Instead of using MAILMAN_OWNER, use Utils.get_site_email(). The former config variable is going away. --- contrib/rotatelogs.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/rotatelogs.py b/contrib/rotatelogs.py index 9308a0e52..927098013 100644 --- a/contrib/rotatelogs.py +++ b/contrib/rotatelogs.py @@ -92,8 +92,10 @@ for log in ( 'error', 'smtp-failures' ): # send message if we've actually found anything if textSend: text = string.join(text, '\n') + '\n' - Utils.SendTextToUser('Mailman Log Report -- %s' % time.ctime(time.time()), - text, mm_cfg.MAILMAN_OWNER, mm_cfg.MAILMAN_OWNER) + siteowner = Utils.get_site_email() + Utils.SendTextToUser( + 'Mailman Log Report -- %s' % time.ctime(time.time()), + text, siteowner, siteowner) # compress any log-files we made if hasattr(mm_cfg, 'COMPRESS_LOGFILES_WITH') and mm_cfg.COMPRESS_LOGFILES_WITH: -- cgit v1.2.3-70-g09d2