diff options
Diffstat (limited to 'src/mailman/utilities/importer.py')
| -rw-r--r-- | src/mailman/utilities/importer.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mailman/utilities/importer.py b/src/mailman/utilities/importer.py index 26b7261e3..99531194f 100644 --- a/src/mailman/utilities/importer.py +++ b/src/mailman/utilities/importer.py @@ -128,6 +128,12 @@ def nonmember_action_mapping(value): }[value] +def int_to_bool(value): + if value: + return True + else: + return False + def check_language_code(code): if code is None: @@ -172,6 +178,9 @@ TYPES = dict( personalize=Personalization, preferred_language=check_language_code, reply_goes_to_list=ReplyToMunging, + allow_list_posts=int_to_bool, + include_rfc2369_headers=int_to_bool, + nntp_prefix_subject_too=int_to_bool, ) |
