summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/Sendmail.py
diff options
context:
space:
mode:
authorbwarsaw2001-03-02 06:03:32 +0000
committerbwarsaw2001-03-02 06:03:32 +0000
commit5edd9afb768e33c51f63ccb519fd965d767221e8 (patch)
tree433e2dedf05c82e47ec39ae825ca4fe9c1ea8215 /Mailman/Handlers/Sendmail.py
parentdb8c44a6f2d23036a8b48c5ac7049ece1001c1a5 (diff)
downloadmailman-5edd9afb768e33c51f63ccb519fd965d767221e8.tar.gz
mailman-5edd9afb768e33c51f63ccb519fd965d767221e8.tar.zst
mailman-5edd9afb768e33c51f63ccb519fd965d767221e8.zip
Diffstat (limited to 'Mailman/Handlers/Sendmail.py')
-rw-r--r--Mailman/Handlers/Sendmail.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/Handlers/Sendmail.py b/Mailman/Handlers/Sendmail.py
index 48c90a678..235a2b0e1 100644
--- a/Mailman/Handlers/Sendmail.py
+++ b/Mailman/Handlers/Sendmail.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998,1999,2000 by the Free Software Foundation, Inc.
+# Copyright (C) 1998,1999,2000,2001 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -88,14 +88,14 @@ def process(mlist, msg, msgdata):
if status:
errcode = (status & 0xff00) >> 8
syslog('post', 'post to %s from %s, size=%d, failure=%d' %
- (mlist.internal_name(), msg.GetSender(),
+ (mlist.internal_name(), msg.get_sender(),
len(msg.body), errcode))
# TBD: can we do better than this? What if only one recipient out
# of the entire chunk failed?
failedrecips.append(chunk)
# Log the successful post
syslog('post', 'post to %s from %s, size=%d, success' %
- (mlist.internal_name(), msg.GetSender(), len(msg.body)))
+ (mlist.internal_name(), msg.get_sender(), len(msg.body)))
if failedrecips:
msgdata['recips'] = failedrecips
raise Errors.SomeRecipientsFailed