[X2go-Commits] python-x2go.git - master (branch) updated: 0.1.1.4-18-g0be3949

X2go dev team git-admin at x2go.org
Thu Jul 28 15:48:41 CEST 2011


The branch, master has been updated
       via  0be3949d65568f30637210d778e40439af4cff42 (commit)
      from  a64da713a8ba239cd9591b25140fce5c86598c39 (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 0be3949d65568f30637210d778e40439af4cff42
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Jul 28 15:47:15 2011 +0200

    add some logging to failing sshfs sessions

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

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

The diff of changes is:
diff --git a/x2go/session.py b/x2go/session.py
index ca0b4cb..2bff5b1 100644
--- a/x2go/session.py
+++ b/x2go/session.py
@@ -1036,7 +1036,8 @@ class X2goSession(object):
                        (self._SUPPORTED_MIMEBOX and self.allow_mimebox) or \
                        (self._SUPPORTED_FOLDERSHARING and self.allow_share_local_folders):
                         self.terminal_session and not self.faulty and self.terminal_session.start_sshfs()
-                except X2goUserException:
+                except X2goUserException, e:
+                    self.logger('%s' % str(e), loglevel=log.loglevel_WARN)
                     # TODO: handle this exception as a notification hook method...
                     self._SUPPORTED_PRINTING = False
                     self._SUPPORTED_MIMEBOX = False
@@ -1046,7 +1047,8 @@ class X2goSession(object):
                     if SUPPORTED_PRINTING and self.printing:
                         self.terminal_session and not self.faulty and self.terminal_session.start_printing()
                         self.terminal_session and not self.faulty and self.session_environment.update({'X2GO_SPOOLDIR': self.terminal_session.get_printing_spooldir(), })
-                except X2goUserException:
+                except X2goUserException, e:
+                    self.logger('%s' % str(e), loglevel=log.loglevel_WARN)
                     # TODO: handle this exception as a notification hook method...
                     self._SUPPORTED_PRINTING = 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