[X2Go-Commits] [maintenancescripts] 01/02: Revert "git/hooks/update-script._irkerhook.py_: seriously try to fix encoding issües."

git-admin at x2go.org git-admin at x2go.org
Tue Oct 10 06:10:01 CEST 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository maintenancescripts.

commit 0f43650a0fab4d10bb5e418c604f44aa5b7024d8
Author: X2Go Administrator <x2go-admin at ymir.das-netzwerkteam.de>
Date:   Tue Oct 10 06:07:36 2017 +0200

    Revert "git/hooks/update-script._irkerhook.py_: seriously try to fix encoding issües."
    
    This reverts commit 23e1245c5034e2822995e8ce73b1dec01205c6cb.
---
 git/hooks/update-script._irkerhook.py_ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git/hooks/update-script._irkerhook.py_ b/git/hooks/update-script._irkerhook.py_
index b25d435..672fc95 100755
--- a/git/hooks/update-script._irkerhook.py_
+++ b/git/hooks/update-script._irkerhook.py_
@@ -309,7 +309,7 @@ class GitExtractor(GenericExtractor):
         # conventionally supposed to be a summary of the commit.  Under
         # other VCSes a different choice may be appropriate.
         commit.author_name, commit.mail, commit.logmsg = \
-            do("git log -1 '--pretty=format:%an%n%ae%n%s%n%b' " + shellquote(commit.commit)).encode("utf-8").split("\n", 2)
+            do("git log -1 '--pretty=format:%an%n%ae%n%s%n%b' " + shellquote(commit.commit)).split("\n", 2)
         # Discard empty lines
         tmp = [line for line in commit.logmsg.split("\n") if line.strip()]
 

--
Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git


More information about the x2go-commits mailing list