aboutsummaryrefslogtreecommitdiffstats
path: root/bin/export.py
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 /bin/export.py
parentd0cc5dcdb29ad64b21f00a15ac8d23ba7bc9458d (diff)
downloadmailman2-5286a1ae2dcf7315411f086a29297f311e0fe496.tar.gz
mailman2-5286a1ae2dcf7315411f086a29297f311e0fe496.tar.xz
mailman2-5286a1ae2dcf7315411f086a29297f311e0fe496.zip
Fixed bin/export.py to accept case insensitive password schemes.
Diffstat (limited to 'bin/export.py')
-rw-r--r--bin/export.py4
1 files changed, 2 insertions, 2 deletions
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: