aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2011-08-24 09:45:30 -0700
committerMark Sapiro <msapiro@value.net>2011-08-24 09:45:30 -0700
commit5286a1ae2dcf7315411f086a29297f311e0fe496 (patch)
tree43612aa74013376eb8094ffa2562b35aa70c3361
parentd0cc5dcdb29ad64b21f00a15ac8d23ba7bc9458d (diff)
downloadmailman2-5286a1ae2dcf7315411f086a29297f311e0fe496.tar.gz
mailman2-5286a1ae2dcf7315411f086a29297f311e0fe496.tar.xz
mailman2-5286a1ae2dcf7315411f086a29297f311e0fe496.zip
Fixed bin/export.py to accept case insensitive password schemes.
-rw-r--r--NEWS3
-rw-r--r--bin/export.py4
2 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 4aee035f..56b5d18c 100644
--- a/NEWS
+++ b/NEWS
@@ -60,6 +60,9 @@ Here is a history of user visible changes to Mailman.
Bug Fixes and other patches
+ - Fixed bin/export.py to accept case insensitive password schemes.
+ Bug #833134.
+
- Added Tokio Kikuchi's icons to the misc/ and installed icons/
directories. Bug #782474.
diff --git a/bin/export.py b/bin/export.py
index 122ce8de..63247df4 100644
--- a/bin/export.py
+++ b/bin/export.py
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 2006-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 2006-2011 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
@@ -369,7 +369,7 @@ def main():
listnames = opts.listnames
else:
listnames = Utils.list_names()
- dumper.dump(listnames, SCHEMES[opts.password_scheme])
+ dumper.dump(listnames, SCHEMES[opts.password_scheme.lower()])
dumper.close()
finally:
if fp is not sys.stdout: