From 23c33ffc04737e21135743bdb7c56921966176a6 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Tue, 4 Dec 2007 11:42:54 -0800 Subject: Forced lower case listnames in a few command line tools --- bin/change_pw | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin/change_pw') 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'): -- cgit v1.2.3