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

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


The branch, twofactorauth has been updated
       via  b4d8418982b78220c40ffd6e9231fd037d47a516 (commit)
      from  f77b4cb44d12122ad3d455b4baa106c285be5127 (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/notify.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/notify.py b/pyhoca/wxgui/notify.py
index 3d2235d..6b0308d 100644
--- a/pyhoca/wxgui/notify.py
+++ b/pyhoca/wxgui/notify.py
@@ -85,7 +85,7 @@ class libnotify_NotifierPopup(object):
         n.set_urgency(pynotify.URGENCY_NORMAL)
         n.set_timeout(timeout)
 
-        self._pyhoca_logger('[%s] %s' % (title, text), loglevel=log.loglevel_NOTICE)
+        self._pyhoca_logger('[%s] %s' % (title.decode(utils.get_encoding()), text.decode(utils.get_encoding())), loglevel=log.loglevel_NOTICE)
         if not n.show():
             raise PyHocaNotificationException('could not notify user')
 
@@ -171,7 +171,7 @@ class notificationmessage_NotifierPopup(object):
             # wx.NotificationMessage class
             pass
 
-        self._pyhoca_logger('[%s] %s' % (title, text), loglevel=log.loglevel_NOTICE)
+        self._pyhoca_logger('[%s] %s' % (title.decode(utils.get_encoding()), text.decode(utils.get_encoding())), loglevel=log.loglevel_NOTICE)
 
     def Close(self):
         pass


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