[X2Go-Commits] python-x2go.git - brokerclient (branch) updated: 0.4.0.3-11-g22da6ea

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


The branch, brokerclient 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
@@ -151,9 +151,10 @@ 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
-- 
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