[X2go-Commits] python-x2go.git - release/0.1.1.x (branch) updated: 0.1.1.7-3-g9ad6a08

X2go dev team git-admin at x2go.org
Sun Sep 25 10:23:24 CEST 2011


The branch, release/0.1.1.x has been updated
       via  9ad6a08f4cb48427f72ac0b5b72bb21291e824d2 (commit)
      from  37df497bbc529a327248c2655b3788691afda1bb (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 -----------------------------------------------------------------
commit 9ad6a08f4cb48427f72ac0b5b72bb21291e824d2
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Sep 24 22:05:38 2011 +0200

    fix for boolean condition, related to folder sharing

-----------------------------------------------------------------------

Summary of changes:
 x2go/backends/terminal/_stdout.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/x2go/backends/terminal/_stdout.py b/x2go/backends/terminal/_stdout.py
index 51bee99..0a0f025 100644
--- a/x2go/backends/terminal/_stdout.py
+++ b/x2go/backends/terminal/_stdout.py
@@ -444,7 +444,7 @@ class X2goTerminalSessionSTDOUT(object):
         Initialize Paramiko/SSH reverse forwarding tunnel for X2go folder sharing.
 
         """
-        if self.control_session.is_folder_sharing_available():
+        if not self.control_session.is_folder_sharing_available():
             raise x2go_exceptions.X2goUserException('remote user %s is not member of X2go server group fuse' % self.session_info.username)
 
         # start reverse SSH tunnel for sshfs (folder sharing, printing)
@@ -591,7 +591,7 @@ class X2goTerminalSessionSTDOUT(object):
         @rtype: bool
 
         """
-        if self.control_session.is_folder_sharing_available():
+        if not self.control_session.is_folder_sharing_available():
             raise x2go_exceptions.X2goUserException('remote user %s is not member of X2go server group fuse' % self.session_info.username)
 
         if local_path 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