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

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


The branch, twofactorauth has been updated
       via  9575809204dd7d58d174ce9c3d286fe55b5fe004 (commit)
      from  c8f2ebd5b8455a4ca953cd368bd515b6bcb9ac95 (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/logon.py |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/logon.py b/pyhoca/wxgui/logon.py
index 81672f1..cb93311 100644
--- a/pyhoca/wxgui/logon.py
+++ b/pyhoca/wxgui/logon.py
@@ -302,14 +302,14 @@ class PyHocaGUI_DialogBoxPassword(wx.Frame):
         except gevent.dns.DNSError, e:
             self._PyHocaGUI.notifier.prepare('AUTH_%s' % self.current_profile_name, 
                                              title=_(u'%s - connect error') % self.current_profile_name, 
-                                             text=u'%s!' % e.strerror,
+                                             text=u'%s!' % decode(e.strerror),
                                              icon='auth_error')
             connect_failed = True
 
         except gevent.socket.error, e:
             self._PyHocaGUI.notifier.prepare('AUTH_%s' % self.current_profile_name, 
                                              title=_(u'%s - connect error') % self.current_profile_name, 
-                                             text=u'%s!' % e.strerror,
+                                             text=u'%s!' % decode(e.strerror),
                                              icon='auth_error')
             connect_failed = True
 
@@ -322,7 +322,7 @@ class PyHocaGUI_DialogBoxPassword(wx.Frame):
             connect_failed = True
 
         except x2go.X2goSSHProxyException, e:
-            self._PyHocaGUI.notifier.prepare(_(u'%s - key error') % profile_name, '%s!' % str(e), icon='auth_error', timeout=4000)
+            self._PyHocaGUI.notifier.prepare(_(u'%s - key error') % profile_name, '%s!' % decode(str(e)), icon='auth_error', timeout=4000)
             connect_failed = True
 
         except:


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