[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.0.40.0-108-g98740c3

X2Go dev team git-admin at x2go.org
Wed Jan 8 15:26:13 CET 2014


The branch, build-baikal has been updated
       via  98740c3d179a7a65c36b5d421b3a5f86136f98ac (commit)
      from  0d27cd43f0013f854cb0a9ccf7397f5253260526 (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 |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/x2go/registry.py b/x2go/registry.py
index 2624358..2af0e97 100644
--- a/x2go/registry.py
+++ b/x2go/registry.py
@@ -162,6 +162,7 @@ class X2goSessionRegistry(object):
             session_uuids = [ s() for s in self.registered_sessions_of_profile_name(self.client_instance.to_profile_name(profile_id), return_objects=True) ]
 
         for _session_uuid in session_uuids:
+
             self(_session_uuid).update_status(session_list=session_list)
             _last_status = copy.deepcopy(self(_session_uuid)._last_status)
             _current_status = copy.deepcopy(self(_session_uuid)._current_status)
@@ -180,7 +181,7 @@ class X2goSessionRegistry(object):
                 if len(self.virgin_sessions_of_profile_name(profile_name)) > 1:
                     del self.registry[_session_uuid]
 
-            elif _last_status['connected'] == True and (_last_status['running'] == False and _current_status['running'] == True):
+            elif _last_status['running'] == False and _current_status['running'] == True:
                 # session has started
                 if _last_status['connected']:
                     if self(_session_uuid).has_terminal_session():


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