[X2Go-Commits] python-x2go.git - release/0.4.0.x (branch) updated: 0.2.0.10-71-gc008047

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


The branch, release/0.4.0.x has been updated
       via  c0080475df80c728c9b5d1a44e60a2105327c73b (commit)
      from  5b35eeeed3c98f3d2d0972b58b7f5e905ae5872a (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 |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/x2go/backends/control/_stdout.py b/x2go/backends/control/_stdout.py
index 12e6d6a..53489b3 100644
--- a/x2go/backends/control/_stdout.py
+++ b/x2go/backends/control/_stdout.py
@@ -1011,7 +1011,7 @@ class X2goControlSessionSTDOUT(paramiko.SSHClient):
         @rtype: C{list}
 
         """
-        self._already_querying_published_applications.acquire():
+        self._already_querying_published_applications.acquire()
 
         if defaults.X2GOCLIENT_OS != 'Windows' and lang is None:
             lang = locale.getdefaultlocale()[0]
@@ -1034,6 +1034,7 @@ class X2goControlSessionSTDOUT(paramiko.SSHClient):
 
                 if very_raw:
                     self.logger('published applications query for %s finished, return very raw output' % self.profile_name, loglevel=log.loglevel_NOTICE)
+                    self._already_querying_published_applications.release()
                     return _raw_output
 
                 ### STAGE 2: dissect the text file retrieved from server, cut into single menu elements
@@ -1055,6 +1056,7 @@ class X2goControlSessionSTDOUT(paramiko.SSHClient):
 
                 if raw:
                     self.logger('published applications query for %s finished, returning raw output' % self.profile_name, loglevel=log.loglevel_NOTICE)
+                    self._already_querying_published_applications.release()
                     return _menu
 
                 if len(_menu) > max_no_submenus >= 0:
@@ -1182,7 +1184,6 @@ class X2goControlSessionSTDOUT(paramiko.SSHClient):
         self._already_querying_published_applications.release()
         return self._published_applications_menu
 
-
     def start(self, **kwargs):
         """\
         Start a new X2Go 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