[X2Go-Commits] [python-x2go] 02/03: don't raise an exception if tf-auth is requested

git-admin at x2go.org git-admin at x2go.org
Wed Feb 5 22:37:26 CET 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch release/0.4.0.x
in repository python-x2go.

commit 023800e5c775aee43d9ed2e4c70435d50e77d1d1
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Feb 5 16:23:14 2014 +0100

    don't raise an exception if tf-auth is requested
---
 x2go/backends/control/_stdout.py |    1 -
 1 file changed, 1 deletion(-)

diff --git a/x2go/backends/control/_stdout.py b/x2go/backends/control/_stdout.py
index 2ebbceb..4cf00b1 100644
--- a/x2go/backends/control/_stdout.py
+++ b/x2go/backends/control/_stdout.py
@@ -930,7 +930,6 @@ class X2GoControlSessionSTDOUT(paramiko.SSHClient):
                 if type(e) == paramiko.SSHException and str(e).startswith('Two-factor authentication requires a password'):
                     self.logger('X2Go Server requests two-factor authentication', loglevel=log.loglevel_NOTICE)
                     _twofactorauth = True
-                    raise e
                 if passphrase is not None:
                     self.logger('unlock SSH private key file with provided password', loglevel=log.loglevel_INFO)
                     try:

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/python-x2go.git



More information about the x2go-commits mailing list