------------------------------------------------------------ revno: 1000 committer: Mark Sapiro <[EMAIL PROTECTED]> branch nick: 2.1 timestamp: Thu 2007-10-18 13:34:36 -0700 message: MailList.Create() - added an assertion that the listname is lower case. modified: Mailman/MailList.py
=== modified file 'Mailman/MailList.py' --- a/Mailman/MailList.py 2006-03-12 02:24:53 +0000 +++ b/Mailman/MailList.py 2007-10-18 20:34:36 +0000 @@ -470,6 +470,7 @@ # 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 -- https://code.launchpad.net/~mailman-coders/mailman/2.1 You are receiving this branch notification because you are subscribed to it. To unsubscribe from this branch go to https://code.launchpad.net/~mailman-coders/mailman/2.1/+subscription/mailman-checkins. _______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org