From fde2d5db792436aeedcb1e18307ff4ea85ca9343 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Thu, 18 Oct 2007 13:34:36 -0700 Subject: MailList.Create() - added an assertion that the listname is lower case. --- Mailman/MailList.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Mailman') diff --git a/Mailman/MailList.py b/Mailman/MailList.py index e07e23aa..b08b5973 100644 --- a/Mailman/MailList.py +++ b/Mailman/MailList.py @@ -470,6 +470,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin, # def Create(self, name, admin, crypted_password, langs=None, emailhost=None): + assert name == name.lower(), 'List name must be all lower case.' if Utils.list_exists(name): raise Errors.MMListAlreadyExistsError, name # Validate what will be the list's posting address. If that's -- cgit v1.2.3