The branch, master 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 ----------------------------------------------------------------- commit b1b59d162cb5a937618553242f5d520b9eabb94f Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sat Feb 11 23:19:00 2012 +0100 Fix IndexError if x2gomountdirs did not deliver any of the expected results to stdout. ----------------------------------------------------------------------- Summary of changes: debian/changelog | 2 ++ x2go/backends/terminal/_stdout.py | 2 +- 2 files changed, 3 insertions(+), 1 deletions(-) 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@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).