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

x2go pushed a commit to annotated tag 0.5.0.1
in repository x2goclient.

commit 63934b80f7207db2def899451b9f36f71ee02997
Author: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
Date:   Sat Nov 10 21:43:46 2012 +0100

    swap password and session comand around
---
 pyhoca-cli | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pyhoca-cli b/pyhoca-cli
index 77f3a138..8eb9c2f9 100755
--- a/pyhoca-cli
+++ b/pyhoca-cli
@@ -373,8 +373,9 @@ Possible values for the --pack NX option are:
     # lightdm remote login magic takes place here
     if a.from_stdin:
 
-        lightdm_remote_login_hash = sys.stdin.readline()
-        (a.username, a.password, a.server, a.command) = 
lightdm_remote_login_hash.split()[0:4]
+        lightdm_remote_login_buffer = sys.stdin.readline()
+        (a.username, a.server, a.command) = 
lightdm_remote_login_buffer.split()[0:3]
+        a.password = " ".join(lightdm_remote_login_buffer.split()[3:])
         if ":" in a.server:
             a.remote_ssh_port = a.server.split(':')[-1]
             a.server = ':'.join(a.server.split(':')[:-1])

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2goclient.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to