From 97700a989a852074b0f164103c067a29904ca00a Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 5 May 2013 19:08:58 +0200 Subject: Fix crash on non-ascii repo owner name --- layman/dbtools/gitoliteextractor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layman/dbtools') diff --git a/layman/dbtools/gitoliteextractor.py b/layman/dbtools/gitoliteextractor.py index 3d77831..df52313 100755 --- a/layman/dbtools/gitoliteextractor.py +++ b/layman/dbtools/gitoliteextractor.py @@ -193,7 +193,7 @@ for section_name in gitolite_conf.names(): owner_name = owner.find('name') if owner_name == None: owner_name = ET.Element('name') - owner_name.text = _owner_match.group(1) + owner_name.text = _owner_match.group(1).decode('utf-8') log.log('owner name', owner_name.text) owner_email = owner.find('email') -- cgit v1.2.3-65-gdbad