[X2Go-Commits] x2gobroker.git - statusflag (branch) updated: 0.0.2.2-11-g28f540a

X2Go dev team git-admin at x2go.org
Tue Jun 4 21:27:23 CEST 2013


The branch, statusflag has been updated
       via  28f540af3974fd5506336c3ab64c6101cd0b71d5 (commit)
      from  98aa2af23baee3aab8d5633f5cc19a0ed98fa703 (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 28f540af3974fd5506336c3ab64c6101cd0b71d5
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Jun 4 21:27:21 2013 +0200

    fix undefined variable

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

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

The diff of changes is:
diff --git a/x2gobroker/brokers/base_broker.py b/x2gobroker/brokers/base_broker.py
index 2784f8d..2131a55 100644
--- a/x2gobroker/brokers/base_broker.py
+++ b/x2gobroker/brokers/base_broker.py
@@ -852,6 +852,7 @@ class X2GoBroker(object):
             if self.check_profile_acls(username, acls):
 
                 remote_agent = self.get_remote_agent(profile_id)
+                agent_query_mode = ( remote_agent = u'LOCAL') or u'SSH'
                 if remote_agent:
                     running_sessions, suspended_sessions = x2gobroker.agent.has_sessions(username, query_mode=agent_query_mode, remote_agent=remote_agent)
                     if running_sessions: profile['status'] = u'R'


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