aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2007-10-18 13:34:36 -0700
committerMark Sapiro <msapiro@value.net>2007-10-18 13:34:36 -0700
commitfde2d5db792436aeedcb1e18307ff4ea85ca9343 (patch)
tree57364b3f11e4b7a6851ff108d0458c3d730ba076 /Mailman
parenta4f9e4406bbf6114b6f7092acb63d93008680af9 (diff)
downloadmailman2-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.py1
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