[X2Go-Commits] python-x2go.git - brokerclient (branch) updated: 0.2.0.10-41-gc1c3fdc

X2Go dev team git-admin at x2go.org
Tue Jan 7 16:21:28 CET 2014


The branch, brokerclient has been updated
       via  c1c3fdcc41c591e50755f0ec985928939b63c36c (commit)
      from  3b3c145b31f048dbfe80296d91275ce94e86e45e (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 -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 x2go/registry.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

The diff of changes is:
diff --git a/x2go/registry.py b/x2go/registry.py
index e50290f..f55109c 100644
--- a/x2go/registry.py
+++ b/x2go/registry.py
@@ -519,6 +519,7 @@ class X2goSessionRegistry(object):
         # depending on your application layout, there should either be one or no such virgin session at all
         _virgin_sessions = [ s for s in self.virgin_sessions_of_profile_name(profile_name, return_objects=True) if not s.activated ]
         if _virgin_sessions and not session_name:
+            self(session_uuid).activated = True
             session_uuid = _virgin_sessions[0].get_uuid()
             self.logger('using already initially-registered yet-unused session %s' % session_uuid, loglevel=log.loglevel_NOTICE)
 
@@ -527,7 +528,6 @@ class X2goSessionRegistry(object):
             if session_uuid is not None: self.logger('using already registered-by-session-name session %s' % session_uuid, loglevel=log.loglevel_NOTICE)
 
         if session_uuid is not None:
-            self(session_uuid).activated = True
             self(session_uuid).update_params(_params)
             self(session_uuid).set_server(server)
             self(session_uuid).set_profile_name(profile_name)


hooks/post-receive
-- 
python-x2go.git (Python X2Go Client API)

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 "python-x2go.git" (Python X2Go Client API).




More information about the x2go-commits mailing list