[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.0.34.0-6-ga897a72

X2Go dev team git-admin at x2go.org
Tue Aug 27 13:21:31 CEST 2013


The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
       via  a897a7225f86c30000cb4fdf59b87aa21db1c915 (commit)
      from  e83a702b9f630cfe576de0c501af09676e9653f0 (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 +++---
 pyhoca/wxgui/logon.py    |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 2a7ab24..c06c51c 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -376,12 +376,12 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
             self.notifier.send(_(u'%s - auth key error') % profile_name, '%s!' % str(e), icon='auth_error', timeout=4000)
             self._temp_disabled_profile_names.remove(profile_name)
             connect_failed = True
-        except e:
+        except:
             self.notifier.send('%s - connect error' % profile_name, 'An unknown error occurred during authentication!', icon='auth_error', timeout=4000)
             self._temp_disabled_profile_names.remove(profile_name)
             connect_failed = True
-            if os.environ.has_key('PYHOCAGUI_DEVELOPMENT') and os.environ['PYHOCAGUI_DEVELOPMENT'] == '1':
-                raise e
+            if os.environ.has_key('PYHOCAGUI_DEVELOPMENT') and os.environ['PYHOCAGUI_DEVELOPMENT'] == '1': 
+                raise
 
 
         if connect_failed and self.exit_on_disconnect:
diff --git a/pyhoca/wxgui/logon.py b/pyhoca/wxgui/logon.py
index 0ec0979..f3a03c6 100644
--- a/pyhoca/wxgui/logon.py
+++ b/pyhoca/wxgui/logon.py
@@ -324,7 +324,7 @@ class PyHocaGUI_DialogBoxPassword(wx.Frame):
             self._PyHocaGUI.notifier.prepare(_(u'%s - key error') % profile_name, '%s!' % str(e), icon='auth_error', timeout=4000)
             connect_failed = True
 
-        except e:
+        except Exception, e:
             self._PyHocaGUI.notifier.prepare('AUTH_%s' % self.current_profile_name, 
                                              title=_(u'%s - connect error') % self.current_profile_name, 
                                              text=_(u'An unknown error occured during authentication!'),


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