aboutsummaryrefslogtreecommitdiffstats
path: root/bin/list_owners
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/list_owners
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/list_owners7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/list_owners b/bin/list_owners
index 5b050450..4c2d908d 100644
--- a/bin/list_owners
+++ b/bin/list_owners
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 2002 by the Free Software Foundation, Inc.
+# Copyright (C) 2002-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.
"""List the owners of a mailing list, or all mailing lists.
@@ -84,7 +85,7 @@ def main():
elif opt in ('-w', '--with-listnames'):
withnames = True
- listnames = args or Utils.list_names()
+ listnames = [x.lower() for x in args] or Utils.list_names()
bylist = {}
for listname in listnames: