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

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


The branch, build-baikal has been updated
       via  b1b59d162cb5a937618553242f5d520b9eabb94f (commit)
      from  b0cad03a148f871d10339372afdc5e942df7e889 (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                  |    2 ++
 x2go/backends/terminal/_stdout.py |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 1f876f8..afd805d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ python-x2go (0.1.2.0-0~x2go1) UNRELEASED; urgency=low
       unsharing of client-side folders.
     - Introduce concept of master sessions per profile to X2goClient class. Only
       the master session can mount/unmount client-side shared folders.
+    - Fix IndexError if x2gomountdirs did not deliver any of the expected
+      results to stdout.
   * Depend on python-xlib.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Sat, 28 Sep 2012 01:44:21 +0100
diff --git a/x2go/backends/terminal/_stdout.py b/x2go/backends/terminal/_stdout.py
index d1db106..4cf0891 100644
--- a/x2go/backends/terminal/_stdout.py
+++ b/x2go/backends/terminal/_stdout.py
@@ -693,7 +693,7 @@ class X2goTerminalSessionSTDOUT(object):
         (stdin, stdout, stderr) = self.control_session._x2go_exec_command(cmd_line)
         _stdout = stdout.read().split('\n')
         self.logger('x2gomountdirs output is : %s' % _stdout, log.loglevel_NOTICE)
-        if _stdout[5].endswith('ok'):
+        if len(_stdout) >= 6 and _stdout[5].endswith('ok'):
             return True
         return False
 


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