summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw1999-02-10 23:15:53 +0000
committerbwarsaw1999-02-10 23:15:53 +0000
commitd5c849b46db59384f3638f19bacc7434d2bb21d4 (patch)
tree147cad941b8f6fa6a3f48a405aeb90636433e9b5
parent81b563b89bc7bc04121ca45ac4d443c537e5d615 (diff)
downloadmailman-d5c849b46db59384f3638f19bacc7434d2bb21d4.tar.gz
mailman-d5c849b46db59384f3638f19bacc7434d2bb21d4.tar.zst
mailman-d5c849b46db59384f3638f19bacc7434d2bb21d4.zip
-rwxr-xr-xbin/newlist5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/newlist b/bin/newlist
index e51389c3a..f922df684 100755
--- a/bin/newlist
+++ b/bin/newlist
@@ -25,6 +25,8 @@ The optional <immediate> argument, if present, means to send out the notice
immediately. Otherwise, the script hangs pending input, to give time for
the person creating the list to customize it before sending the admin an
email notice about the existence of the new list.
+
+Note that list-names are forced to lowercase.
"""
import sys, os, string
@@ -52,7 +54,8 @@ def main(argv):
if len(argv) > 1:
list_name = argv[1]
else:
- list_name = string.lower(raw_input("Enter the name of the list: "))
+ list_name = raw_input("Enter the name of the list: ")
+ list_name = string.lower(list_name)
if '@' in list_name:
sys.stderr.write("** List name must not include '@': %s\n"