[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 0.1.0.2-12-g82b4fe8

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


The branch, twofactorauth has been updated
       via  82b4fe8750c58ac81d04a4d9772809243a266236 (commit)
      from  da63975592fcce5adf1f3e4420862b5b039d13d6 (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:
 pyhoca/wxgui/frontend.py |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 5405a8a..189c65b 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -672,7 +672,7 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
     def HOOK_on_control_session_death(self, profile_name):
         self.notifier.send(_(u'%s - channel error') % profile_name, _(u'Lost connection to server %s unexpectedly! Try to re-authenticate to the server...') % profile_name, icon='session_warning', timeout=10000)
         try:
-            del self._temp_disabled_session_names[self.current_profile_name]
+            del self._temp_disabled_session_names[profile_name]
         except KeyError:
             pass
         if self.exit_on_disconnect:
@@ -693,6 +693,10 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
 
     def HOOK_forwarding_tunnel_setup_failed(self, profile_name='UNKNOWN', session_name='UNKNOWN', chain_host='UNKNOWN', chain_port=0):
         self.notifier.send(_(u'%s - session failure') % profile_name, _(u'Forwarding tunnel request to [%s]:%s for session %s was denied by remote X2go/SSH server. Session startup failed.') % (chain_host, chain_port, session_name), icon='session_error', timeout=10000)
+        try:
+            del self._temp_disabled_session_names[profile_name][session_name]
+        except KeyError:
+            pass
         if self.exit_on_disconnect:
             self.WakeUpIdle()
             self.ExitMainLoop()


hooks/post-receive
-- 
pyhoca-gui.git (Python X2Go Client (wxPython GUI))

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 "pyhoca-gui.git" (Python X2Go Client (wxPython GUI)).




More information about the x2go-commits mailing list