[X2go-Commits] pyhoca-gui.git - master (branch) updated:

X2Go dev team git-admin at x2go.org
Mon Jul 9 11:12:42 CEST 2012

The branch, master 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 -----------------------------------------------------------------
commit a53bc4370cb348d35fcc06e8710397ea9983f579
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Jul 9 11:12:29 2012 +0200

    Avoid KeyError in logon window.


Summary of changes:
 debian/changelog      |    1 +
 pyhoca/wxgui/logon.py |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

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 ( 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

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