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

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


The branch, twofactorauth has been updated
       via  dd455a3b4eda3bffb0008e68fc5876798ceb3990 (commit)
      from  82b4fe8750c58ac81d04a4d9772809243a266236 (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:
 debian/changelog         |    4 +++-
 pyhoca/wxgui/frontend.py |    4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index ca28f35..cce2488 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 pyhoca-gui (0.1.0.3-0~x2go1) UNRELEASED; urgency=low
 
-  * Fix utf-8 errors during authentication.
+  New upstream version (0.1.0.3):
+    - Fix utf-8 errors during authentication.
+    - Release session name on connection errors when greyed out.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Sun, 19 Jun 2011 22:14:22 +0200
 
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 189c65b..c767c91 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -694,8 +694,8 @@ 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:
+            self._temp_disabled_session_names[profile_name].remove(session_name)
+        except KeyError, ValueError:
             pass
         if self.exit_on_disconnect:
             self.WakeUpIdle()


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