password-store

Simple password manager using gpg and ordinary unix directories
git clone https://git.zx2c4.com/password-store
Log | Files | Refs | README | LICENSE

commit 71a1618e6e49c22bb78ec8e7b164a41df5440a77
parent 6cc9bea13492df83aef62c0b109ca22c72afb432
Author: Thibaut Horel <thibaut.horel@gmail.com>
Date:   Mon, 11 Aug 2014 01:01:34 -0400

keepassx2pass: Handle unicode

Diffstat:
Mcontrib/importers/keepassx2pass.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/importers/keepassx2pass.py b/contrib/importers/keepassx2pass.py @@ -47,7 +47,7 @@ def password_data(element): ret = passwd + "\n" if passwd else "\n" for field in ['username', 'url', 'comment']: fel = element.find(field) - children = [str(e.text or '') + str(e.tail or '') for e in list(fel)] + children = [unicode(e.text or '') + unicode(e.tail or '') for e in list(fel)] if len(children) > 0: children.insert(0, '') text = (fel.text or '') + "\n".join(children)