From b0cdc157d624b90287308b7b83c4f603be3174b5 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sun, 7 Dec 2008 11:46:59 -0800 Subject: Fixed an issue where list creation would report bad owner email instead of bad listname when the list name had non-ascii characters. SF Bug #2126489. --- Mailman/MailList.py | 2 +- NEWS | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Mailman/MailList.py b/Mailman/MailList.py index ac2d1baf..674017d1 100644 --- a/Mailman/MailList.py +++ b/Mailman/MailList.py @@ -491,7 +491,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin, postingaddr = '%s@%s' % (name, emailhost) try: Utils.ValidateEmail(postingaddr) - except Errors.MMBadEmailError: + except Errors.EmailAddressError: raise Errors.BadListNameError, postingaddr # Validate the admin's email address Utils.ValidateEmail(admin) diff --git a/NEWS b/NEWS index 35f5d3ae..99d0d3be 100644 --- a/NEWS +++ b/NEWS @@ -50,6 +50,10 @@ Here is a history of user visible changes to Mailman. to unicode of a header/footer that was already unicode because of interpolating a unicode value. + - Fixed an issue where list creation would report bad owner email + instead of bad listname when the list name had non-ascii characters. + SF Bug #2126489. + 2.1.11 (30-Jun-2008) New Features -- cgit v1.2.3