[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.1.1.4-188-gf863f72

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


The branch, build-baikal has been updated
       via  f863f7210b44b147bac4399836480338fd414f01 (commit)
      from  bcf44041c1161e109109305887351c5ac60152fd (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/backends/control/_stdout.py |    8 ++++++++
 1 file changed, 8 insertions(+)

The diff of changes is:
diff --git a/x2go/backends/control/_stdout.py b/x2go/backends/control/_stdout.py
index 336ac97..c39db0b 100644
--- a/x2go/backends/control/_stdout.py
+++ b/x2go/backends/control/_stdout.py
@@ -149,7 +149,9 @@ class X2goControlSessionSTDOUT(paramiko.SSHClient):
             self.set_missing_host_key_policy(paramiko.AutoAddPolicy())
 
         self.session_died = False
+
         self.published_applications_no_submenus = published_applications_no_submenus
+        self._already_querying_published_applications = False
 
     def get_hostname(self):
         return self.hostname
@@ -625,6 +627,12 @@ class X2goControlSessionSTDOUT(paramiko.SSHClient):
 
         """
 
+        if self._already_querying_published_applications:
+            self.logger('This control session instance is currently already querying the published applications menu tree for session profile %s. Whenever this warning pops up in your log file it means that you should fix your client implementation code. Only call this method once per session profile!!!' % self.profile_name, loglevel=log.loglevel_WARN)
+            return None
+        else:
+            self._already_querying_published_applications = True
+
         if defaults.X2GOCLIENT_OS != 'Windows' and lang is None:
             lang = locale.getdefaultlocale()[0]
         elif lang is None:


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