From 6c1ccc236bc24d8b3bb04807ba4b24e8a7a0d18e Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 21 Jun 2007 10:23:40 -0400 Subject: Convert the CookHeaders tests in test_handlers to using doctests, split up into several sub-documents. Defaults.py.in: Removed OLD_STYLE_PREFIXING. So-called 'new style' prefixing is the default and only option now. CookHeaders.py is updated to the new API and some (but not all) of the code has been updated to more modern Python idioms. reply_goes_to_list attribute has been changed from a strict integer to a munepy enum called ReplyToMunging. RFC 2369 headers List-Subscribe and List-Unsubscribe now use the preferred -join and -leave addresses instead of the -request address with a subject value. --- Mailman/database/model/mailinglist.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Mailman/database') diff --git a/Mailman/database/model/mailinglist.py b/Mailman/database/model/mailinglist.py index cdea9d9f6..4feb64db4 100644 --- a/Mailman/database/model/mailinglist.py +++ b/Mailman/database/model/mailinglist.py @@ -21,6 +21,7 @@ from zope.interface import implements from Mailman.Utils import fqdn_listname, split_listname from Mailman.configuration import config from Mailman.interfaces import * +from Mailman.database.types import EnumType @@ -136,7 +137,7 @@ class MailingList(Entity): has_field('private_roster', Boolean), has_field('real_name', Unicode), has_field('reject_these_nonmembers', PickleType), - has_field('reply_goes_to_list', Boolean), + has_field('reply_goes_to_list', EnumType), has_field('reply_to_address', Unicode), has_field('require_explicit_destination', Boolean), has_field('respond_to_post_requests', Boolean), -- cgit v1.3.1