[X2go-Commits] pyhoca-cli.git - master (branch) updated: 0.2.0.4-18-g63934b8

X2Go dev team git-admin at x2go.org
Sat Nov 10 21:44:28 CET 2012


The branch, master has been updated
       via  63934b80f7207db2def899451b9f36f71ee02997 (commit)
      from  dd6a9ef228a597ce6e5cb14af2746489675e83f1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

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

    swap password and session comand around

-----------------------------------------------------------------------

Summary of changes:
 pyhoca-cli |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/pyhoca-cli b/pyhoca-cli
index 77f3a13..8eb9c2f 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])


hooks/post-receive
-- 
pyhoca-cli.git (Python X2Go Client (command line client))

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "pyhoca-cli.git" (Python X2Go Client (command line client)).




More information about the x2go-commits mailing list