[X2Go-Commits] python-x2go.git - release/0.4.0.x (branch) updated: 0.4.0.1-2-g938bb81

X2Go dev team git-admin at x2go.org
Tue Jan 7 16:18:31 CET 2014


The branch, release/0.4.0.x has been updated
       via  938bb81114832e2c769218b90cd346c4258d59b8 (commit)
      from  4af31629e0038edcb7c8a89f463d641e50f9e88a (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 -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 x2go/backends/info/_stdout.py |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

The diff of changes is:
diff --git a/x2go/backends/info/_stdout.py b/x2go/backends/info/_stdout.py
index 2273eb3..6bbed1d 100644
--- a/x2go/backends/info/_stdout.py
+++ b/x2go/backends/info/_stdout.py
@@ -60,20 +60,20 @@ class X2GoServerSessionInfoSTDOUT(object):
         """
         try:
             l = x2go_output.split("|")
-            self.name = l[1]
-            self.cookie = l[6]
             self.agent_pid = int(l[0])
+            self.name = l[1]
             self.display = int(l[2])
-            self.status = l[4]
-            self.graphics_port = int(l[8])
-            self.snd_port = int(l[9])
-            self.sshfs_port = int(l[13])
-            self.username = l[11]
             self.hostname = l[3]
+            self.status = l[4]
             # TODO: turn into datetime object
             self.date_created = l[5]
+            self.cookie = l[6]
+            self.graphics_port = int(l[8])
+            self.snd_port = int(l[9])
             # TODO: turn into datetime object
             self.date_suspended = l[10]
+            self.username = l[11]
+            self.sshfs_port = int(l[13])
             self.local_container = ''
         except IndexError, e:
             # DEBUGGING CODE


hooks/post-receive
-- 
python-x2go.git (Python X2Go Client API)

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 "python-x2go.git" (Python X2Go Client API).




More information about the x2go-commits mailing list