This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository maintenancescripts. commit 9845d7dd696c4557ebaf45abc30c4c1ae01049bd Author: Mihai Moldovan <ionic@ionic.de> Date: Wed Jan 1 14:35:58 2020 +0100 git/hooks/update-script._irkerhook.py_: disable author, email and logmsg conversion to unicode since that should happen automatically now. --- git/hooks/update-script._irkerhook.py_ | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/git/hooks/update-script._irkerhook.py_ b/git/hooks/update-script._irkerhook.py_ index 71c1c3b..b7b9816 100755 --- a/git/hooks/update-script._irkerhook.py_ +++ b/git/hooks/update-script._irkerhook.py_ @@ -132,12 +132,12 @@ class Commit: # self.url) are normal byte strings, correctly encoded. # For some reason, applying the dict to the template still fails. # It doesn't fail if logmsg et. al. are converted to unicode objects first. - if not isinstance(self.logmsg, unicode): - self.logmsg = unicode(self.logmsg, 'utf-8') - if not isinstance(self.author_name, unicode): - self.author_name = unicode(self.author_name, 'utf-8') - if not isinstance(self.mail, unicode): - self.mail = unicode(self.mail, 'utf-8') + #if not isinstance(self.logmsg, unicode): + # self.logmsg = unicode(self.logmsg, 'utf-8') + #if not isinstance(self.author_name, unicode): + # self.author_name = unicode(self.author_name, 'utf-8') + #if not isinstance(self.mail, unicode): + # self.mail = unicode(self.mail, 'utf-8') res = self.template % self.__dict__ return string_type(res, 'UTF-8') if not isinstance(res, string_type) else res -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git