This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository python-x2go. commit 594bfd0d696c185b15a135462ef325abb8c631b0 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Fri Dec 27 13:22:13 2019 +0100 x2go/backends/terminal/plain.py: Fix keyboard layout setting under Python3. <bytes>.decode() does not modify the variable in place but needs an assignment. --- debian/changelog | 6 +++++- x2go/backends/terminal/plain.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4c287ff..006c3de 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,10 @@ python-x2go (0.6.1.3-0x2go1) UNRELEASED; urgency=medium - * Continue development + [ Mike Gabriel ] + * New upstream release 0.6.1.3: + - x2go/backends/terminal/plain.py: Fix keyboard layout setting under + Python3. <bytes>.decode() does not modify the variable in place but + needs an assignment. -- X2Go Release Manager <git-admin@x2go.org> Thu, 26 Dec 2019 10:37:02 +0100 diff --git a/x2go/backends/terminal/plain.py b/x2go/backends/terminal/plain.py index f5b3156..6a9bd8e 100644 --- a/x2go/backends/terminal/plain.py +++ b/x2go/backends/terminal/plain.py @@ -1460,7 +1460,7 @@ class X2GoTerminalSession(object): (stdin, stdout, stderr) = self.control_session._x2go_exec_command(cmd_line) _stderr = stderr.read() if sys.version_info[0] >= 3: - _stderr.decode() + _stderr = _stderr.decode() if not _stderr: self.logger('setting keyboard layout ,,%s\'\' and variant ,,%s\'\' for session %s has been successful' % (layout, variant, self.session_info), log.loglevel_NOTICE) return True -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git