[X2Go-Commits] python-x2go.git - twofactorauth (branch) updated:

X2Go dev team git-admin at x2go.org
Sat Sep 14 15:57:24 CEST 2013

The branch, twofactorauth has been updated
       via  b75923d05aefbde569c48147b0761855dbd1d8b0 (commit)
      from  2e7e522f20c58c9047cebf7a2deb99f32d3ae548 (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:
 x2go/backends/control/_stdout.py |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/x2go/backends/control/_stdout.py b/x2go/backends/control/_stdout.py
index a56ae31..336ac97 100644
--- a/x2go/backends/control/_stdout.py
+++ b/x2go/backends/control/_stdout.py
@@ -576,7 +576,10 @@ class X2goControlSessionSTDOUT(paramiko.SSHClient):
             if self.get_transport() is not None:
                 still_active = self.get_transport().is_active()
-                self.close()
+                try:
+                    self.close()
+                except IOError:
+                    pass
                 if self.sshproxy_session is not None:
                 return still_active
@@ -586,7 +589,6 @@ class X2goControlSessionSTDOUT(paramiko.SSHClient):
             # but state that this method call did not close the SSH client, but was already closed
             return False
     def home_exists(self):
         (_stdin, _stdout, _stderr) = self._x2go_exec_command('stat -tL "%s"' % self._x2go_remote_home, loglevel=log.loglevel_DEBUG)
         if _stdout.read():

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