aboutsummaryrefslogtreecommitdiffstats
path: root/bin/change_pw
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2007-12-04 11:42:54 -0800
committerMark Sapiro <msapiro@value.net>2007-12-04 11:42:54 -0800
commit23c33ffc04737e21135743bdb7c56921966176a6 (patch)
tree530b68c6a88075594dba78b229d56aa1e49ad68b /bin/change_pw
parent867db51b2434aaf99dd776348972950341a38f23 (diff)
downloadmailman2-23c33ffc04737e21135743bdb7c56921966176a6.tar.gz
mailman2-23c33ffc04737e21135743bdb7c56921966176a6.tar.xz
mailman2-23c33ffc04737e21135743bdb7c56921966176a6.zip
Forced lower case listnames in a few command line tools
Diffstat (limited to '')
-rw-r--r--bin/change_pw7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/change_pw b/bin/change_pw
index 1305e1a4..965f5e50 100644
--- a/bin/change_pw
+++ b/bin/change_pw
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 2001-2004 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2007 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -14,7 +14,8 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+# USA.
"""Change a list's password.
@@ -133,7 +134,7 @@ def main():
elif opt in ('-d', '--domain'):
domains[arg] = 1
elif opt in ('-l', '--listname'):
- listnames[arg] = 1
+ listnames[arg.lower()] = 1
elif opt in ('-p', '--password'):
password = arg
elif opt in ('-q', '--quiet'):