X2Go dev team | 14 Feb 05:23 2013

python-x2go.git - master (branch) updated: 0.4.0.1-2-g938bb81

The branch, master 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 -----------------------------------------------------------------
commit 938bb81114832e2c769218b90cd346c4258d59b8
Author: Mike Gabriel <mike.gabriel@...>
Date:   Thu Feb 14 05:25:55 2013 +0100

    sort session list fields

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

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
 <at>  <at>  -60,20 +60,20  <at>  <at>  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

Gmane