From 0ae6e0c4618e9e3906f258935c45b57047dc124d Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 19 Jan 2023 18:04:33 -0500 Subject: [PATCH] Fix setting real_name by modifying mlist object directly --- mailman_sync.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mailman_sync.py b/mailman_sync.py index d103f56..7a52d59 100755 --- a/mailman_sync.py +++ b/mailman_sync.py @@ -69,7 +69,8 @@ class ListManager: ): config_changes = "\n".join( [ - "real_name = " + repr(real_name), + # have to modify mlist directly to allow removing suffix + "mlist.real_name = " + repr(real_name), "moderator = " + repr(moderator), "subject_prefix = " + repr(subject_prefix), "from_is_list = 1",