diff options
| author | Barry Warsaw | 2009-01-01 17:58:39 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-01 17:58:39 -0500 |
| commit | 1c285f110d8e98597453c6b4b69ea01163033547 (patch) | |
| tree | 00c7ec16711b2073e40f593658f652726a9d4231 /mailman/app/notifications.py | |
| parent | 12513c7d0fc1f5d2a1aabda349637309f6e8300b (diff) | |
| parent | 600ddb503a391d70230d96ee91a631888d11b35a (diff) | |
| download | mailman-1c285f110d8e98597453c6b4b69ea01163033547.tar.gz mailman-1c285f110d8e98597453c6b4b69ea01163033547.tar.zst mailman-1c285f110d8e98597453c6b4b69ea01163033547.zip | |
Two major structural conversions.
* Use zc.buildout and zc.testing frameworks for building and testing Mailman.
* Use lazr.config as the configuration system, though this conversion is not
yet complete.
Also: move a bunch of old bin scripts to the attic.
Diffstat (limited to 'mailman/app/notifications.py')
| -rw-r--r-- | mailman/app/notifications.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mailman/app/notifications.py b/mailman/app/notifications.py index 41180de7d..62c9964c0 100644 --- a/mailman/app/notifications.py +++ b/mailman/app/notifications.py @@ -1,4 +1,4 @@ -# Copyright (C) 2007-2008 by the Free Software Foundation, Inc. +# Copyright (C) 2007-2009 by the Free Software Foundation, Inc. # # This file is part of GNU Mailman. # @@ -27,10 +27,10 @@ __all__ = [ from email.utils import formataddr +from mailman import Defaults from mailman import Message from mailman import Utils from mailman import i18n -from mailman.configuration import config from mailman.interfaces.member import DeliveryMode _ = i18n._ @@ -79,7 +79,7 @@ def send_welcome_message(mlist, address, language, delivery_mode, text=''): _('Welcome to the "$mlist.real_name" mailing list${digmode}'), text, language) msg['X-No-Archive'] = 'yes' - msg.send(mlist, verp=config.VERP_PERSONALIZED_DELIVERIES) + msg.send(mlist, verp=Defaults.VERP_PERSONALIZED_DELIVERIES) @@ -104,7 +104,7 @@ def send_goodbye_message(mlist, address, language): address, mlist.bounces_address, _('You have been unsubscribed from the $mlist.real_name mailing list'), goodbye, language) - msg.send(mlist, verp=config.VERP_PERSONALIZED_DELIVERIES) + msg.send(mlist, verp=Defaults.VERP_PERSONALIZED_DELIVERIES) |
