summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2013-05-05 19:08:58 +0200
committerSebastian Pipping <sebastian@pipping.org>2013-05-05 19:08:58 +0200
commit97700a989a852074b0f164103c067a29904ca00a (patch)
tree906a60f934b0ed0a343007ddc0796641f9d47d30 /layman/dbtools
parentFix a bug in the gitolite config parser (diff)
downloadrepositories-xml-format-97700a989a852074b0f164103c067a29904ca00a.tar.gz
repositories-xml-format-97700a989a852074b0f164103c067a29904ca00a.tar.bz2
repositories-xml-format-97700a989a852074b0f164103c067a29904ca00a.zip
Fix crash on non-ascii repo owner name
Diffstat (limited to 'layman/dbtools')
-rwxr-xr-xlayman/dbtools/gitoliteextractor.py2
1 files changed, 1 insertions, 1 deletions
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')