[X2Go-Commits] x2gobroker.git - statusflag (branch) updated: 0.0.2.2-19-g346d97f

X2Go dev team git-admin at x2go.org
Tue Jun 4 22:28:07 CEST 2013


The branch, statusflag has been updated
       via  346d97f4a8d1428e6e945a08c3ed7ba69a09b308 (commit)
      from  435d9e97dbbeca37e96fb77b6dbc8d48df82799b (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 346d97f4a8d1428e6e945a08c3ed7ba69a09b308
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Jun 4 22:28:03 2013 +0200

    fix variable name

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

Summary of changes:
 x2gobroker/brokers/base_broker.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/x2gobroker/brokers/base_broker.py b/x2gobroker/brokers/base_broker.py
index 407b49e..6941eb4 100644
--- a/x2gobroker/brokers/base_broker.py
+++ b/x2gobroker/brokers/base_broker.py
@@ -966,9 +966,9 @@ class X2GoBroker(object):
                     running_sessions = []
                     suspended_sessions = []
                     for session_info in session_list:
-                        if session.split('|')[4] == 'R':
+                        if session_info.split('|')[4] == 'R':
                             running_sessions.append(session_info)
-                        if session.split('|')[4] == 'S':
+                        if session_info.split('|')[4] == 'S':
                             suspended_sessions.append(session_info)
 
                     # we prefer suspended sessions for resuming if we find sessions with both states of activity


hooks/post-receive
-- 
x2gobroker.git (HTTP(S) Session broker for X2Go)

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 "x2gobroker.git" (HTTP(S) Session broker for X2Go).




More information about the x2go-commits mailing list