[X2Go-Commits] x2gobroker.git - statusflag (branch) updated: 0.0.2.2-12-gfbc66ef

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


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

    syntax fix

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

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

The diff of changes is:
diff --git a/x2gobroker/brokers/base_broker.py b/x2gobroker/brokers/base_broker.py
index 2131a55..679600e 100644
--- a/x2gobroker/brokers/base_broker.py
+++ b/x2gobroker/brokers/base_broker.py
@@ -852,7 +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'
+                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