X2Go dev team | 18 Jun 20:29 2013

python-x2go.git - build-baikal (branch) updated: 0.4.0.3-11-g22da6ea

The branch, build-baikal has been updated
       via  22da6eab7545338335e7cef8b3b5a39d2fb786cc (commit)
      from  a67628e44fcdd334bd876b291805fe14f277e1b5 (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/cache.py |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/x2go/cache.py b/x2go/cache.py
index b64e47f..5998bd3 100644
--- a/x2go/cache.py
+++ b/x2go/cache.py
 <at>  <at>  -151,9 +151,10  <at>  <at>  class X2GoListSessionsCache(object):
         try:
             self.x2go_listsessions_cache[profile_name]['mounts'] = {}
             if self.x2go_listsessions_cache[profile_name]['sessions']:
-                for session_name in [ s for s in self.x2go_listsessions_cache[profile_name]['sessions'] if
self.client_instance.get_session_of_session_name(session_name, return_object=True,
match_profile_name=profile_name).is_running() ]:
-                    if control_session is not None and not control_session.has_session_died():
-                        self.x2go_listsessions_cache[profile_name]['mounts'].update(control_session.list_mounts(session_name))
+                for session_name in self.x2go_listsessions_cache[profile_name]['sessions']:
+                    if self.client_instance.get_session_of_session_name(session_name, return_object=True, match_profile_name=profile_name).is_running():
+                        if control_session is not None and not control_session.has_session_died():
+                            self.x2go_listsessions_cache[profile_name]['mounts'].update(control_session.list_mounts(session_name))
         except (x2go_exceptions.X2GoControlSessionException, AttributeError), e:
             if profile_name in self.x2go_listsessions_cache.keys():
                 del self.x2go_listsessions_cache[profile_name]

hooks/post-receive

Gmane