[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 0.2.0.1-4-ga53bc43

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


The branch, twofactorauth has been updated
       via  a53bc4370cb348d35fcc06e8710397ea9983f579 (commit)
      from  123028d8ae1b24d27874760bd5dbefd0fca2ba08 (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      |    1 +
 pyhoca/wxgui/logon.py |    3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 6ed9aa7..c186ccd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ pyhoca-gui (0.2.0.2-0~x2go1) UNRELEASED; urgency=low
     - Allow SSH ports less than 22 in session profile manager. SSH ports
       below port 22 is not that much of a common practice, but it eases
       keyboard input in the corresponding wx widgets.
+    - Avoid KeyError in logon window.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Mon, 02 Jul 2012 20:51:37 +0200
 
diff --git a/pyhoca/wxgui/logon.py b/pyhoca/wxgui/logon.py
index 07e8707..e5ba605 100644
--- a/pyhoca/wxgui/logon.py
+++ b/pyhoca/wxgui/logon.py
@@ -429,7 +429,8 @@ class PyHocaGUI_DialogBoxPassword(wx.Dialog):
         if self._PyHocaGUI._X2goClient__is_session_connected(session_uuid):
             self._PyHocaGUI._post_authenticate(evt, session_uuid)
         self.sshproxy_started = False
-        del self._PyHocaGUI._logon_windows[self.current_profile_name]
+        try: del self._PyHocaGUI._logon_windows[self.current_profile_name]
+        except KeyError: pass
 
         self.Close()
         self.Destroy()


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