diff options
author | Mark Sapiro <msapiro@value.net> | 2007-10-18 13:34:36 -0700 |
---|---|---|
committer | Mark Sapiro <msapiro@value.net> | 2007-10-18 13:34:36 -0700 |
commit | fde2d5db792436aeedcb1e18307ff4ea85ca9343 (patch) | |
tree | 57364b3f11e4b7a6851ff108d0458c3d730ba076 /Mailman | |
parent | a4f9e4406bbf6114b6f7092acb63d93008680af9 (diff) | |
download | mailman2-fde2d5db792436aeedcb1e18307ff4ea85ca9343.tar.gz mailman2-fde2d5db792436aeedcb1e18307ff4ea85ca9343.tar.xz mailman2-fde2d5db792436aeedcb1e18307ff4ea85ca9343.zip |
MailList.Create() - added an assertion that the listname is lower case.
Diffstat (limited to 'Mailman')
-rw-r--r-- | Mailman/MailList.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |