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

X2go dev team git-admin at x2go.org
Sun Jun 19 22:20:38 CEST 2011


The branch, master has been updated
       via  b344d95c5629d51f7ec31cfed76e071782afe8f7 (commit)
      from  9575809204dd7d58d174ce9c3d286fe55b5fe004 (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 b344d95c5629d51f7ec31cfed76e071782afe8f7
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Jun 19 22:21:10 2011 +0200

    another unicode fix

-----------------------------------------------------------------------

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

The diff of changes is:
diff --git a/pyhoca/wxgui/logon.py b/pyhoca/wxgui/logon.py
index cb93311..6dfb45c 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!' % decode(e.strerror),
+                                             text=u'%s!' % e.strerror.decode(),
                                              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!' % decode(e.strerror),
+                                             text=u'%s!' % e.strerror.decode(),
                                              icon='auth_error')
             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