From 5286a1ae2dcf7315411f086a29297f311e0fe496 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Wed, 24 Aug 2011 09:45:30 -0700 Subject: Fixed bin/export.py to accept case insensitive password schemes. --- bin/export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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: -- cgit v1.2.3