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

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


The branch, twofactorauth has been updated
       via  f77b4cb44d12122ad3d455b4baa106c285be5127 (commit)
      from  b344d95c5629d51f7ec31cfed76e071782afe8f7 (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 6dfb45c..2363d98 100644
--- a/pyhoca/wxgui/logon.py
+++ b/pyhoca/wxgui/logon.py
@@ -302,21 +302,21 @@ 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.decode(),
+                                             text=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.decode(),
+                                             text=e.strerror + '!',
                                              icon='auth_error')
             connect_failed = True
 
         except x2go.X2goHostKeyException, e:
             self._PyHocaGUI.notifier.prepare('AUTH_%s' % self.current_profile_name, 
                                              title=_(u'%s - host key error') % self.current_profile_name, 
-                                             text=u'%s!' % _(u'The remote server\'s host key is invalid or has not been accepted by the user'), 
+                                             text=_(u'The remote server\'s host key is invalid or has not been accepted by the user') + '!',
                                              icon='auth_error', 
                                              timeout=4000)
             connect_failed = True


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