[X2go-Commits] python-x2go.git - release/0.1.1.x (branch) updated: 0.1.1.4-16-g6fed684
X2go dev team
git-admin at x2go.org
Thu Jul 28 15:48:41 CEST 2011
The branch, release/0.1.1.x has been updated
via 6fed6846c80b67eeac3c26da70987d63f0371893 (commit)
from a5ab9db9661a5b2c9a14055d040f6cc7b7d18dd0 (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 6fed6846c80b67eeac3c26da70987d63f0371893
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 e870da3..90b4f83 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