The branch, twofactorauth has been updated via a67628e44fcdd334bd876b291805fe14f277e1b5 (commit) from 989c3d6b0396d48e32ec346c7bc98cf01360a883 (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: debian/changelog | 1 + x2go/cache.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) The diff of changes is: diff --git a/debian/changelog b/debian/changelog index 7caf2b5..9d365eb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,7 @@ python-x2go (0.4.0.4-0~x2go1) UNRELEASED; urgency=low Silence/fix some race conditions on connection failures. - Support mounting client-side folders on UNC paths. - Enable keepalive callbacks on open SSH client connections. + - Only do x2golistmounts calls for the session cache on running sessions. -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Sun, 21 Apr 2013 23:21:29 +0200 diff --git a/x2go/cache.py b/x2go/cache.py index 757b827..b64e47f 100644 --- a/x2go/cache.py +++ b/x2go/cache.py @@ -151,7 +151,7 @@ class X2GoListSessionsCache(object): try: self.x2go_listsessions_cache[profile_name]['mounts'] = {} if self.x2go_listsessions_cache[profile_name]['sessions']: - for session_name in 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)) except (x2go_exceptions.X2GoControlSessionException, AttributeError), e: 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).