[X2Go-Commits] x2gobroker.git - statusflag (branch) updated: 0.0.2.2-18-g435d9e9

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


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

    define agent_query_mode in select_session() method

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

Summary of changes:
 x2gobroker/brokers/base_broker.py |    3 +++
 1 file changed, 3 insertions(+)

The diff of changes is:
diff --git a/x2gobroker/brokers/base_broker.py b/x2gobroker/brokers/base_broker.py
index 4788517..407b49e 100644
--- a/x2gobroker/brokers/base_broker.py
+++ b/x2gobroker/brokers/base_broker.py
@@ -881,6 +881,9 @@ class X2GoBroker(object):
         server_list = profile[u'host']
         remote_agent = self.get_remote_agent(profile_id)
 
+        if remote_agent:
+            agent_query_mode = ( remote_agent == u'LOCAL') and u'LOCAL' or u'SSH'
+
         # detect best X2Go server for this user if load balancing is configured
         if remote_agent and len(server_list) >= 2 and username:
 


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