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

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


The branch, twofactorauth has been updated
       via  51ec74b6782193e13b5b5d646d211328c1d7fa4f (commit)
      from  2c7ce58ee48411235359846f85b93d1087b823e5 (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 feafd85..b4badb3 100644
--- a/pyhoca/wxgui/notify.py
+++ b/pyhoca/wxgui/notify.py
@@ -87,7 +87,7 @@ class libnotify_NotifierPopup(object):
         n.set_urgency(pynotify.URGENCY_NORMAL)
         n.set_timeout(timeout)
 
-        self._pyhoca_logger('[%s] %s' % (title.decode(utils.get_encoding()), text.decode(utils.get_encoding())), loglevel=log.loglevel_NOTICE)
+        self._pyhoca_logger('[%s] %s' % (title.encode(utils.get_encoding()), text.enode(utils.get_encoding())), loglevel=log.loglevel_NOTICE)
         if not n.show():
             raise PyHocaNotificationException('could not notify user')
 
@@ -173,7 +173,7 @@ class notificationmessage_NotifierPopup(object):
             # wx.NotificationMessage class
             pass
 
-        self._pyhoca_logger('[%s] %s' % (title.decode(utils.get_encoding()), text.decode(utils.get_encoding())), loglevel=log.loglevel_NOTICE)
+        self._pyhoca_logger('[%s] %s' % (title.encode(utils.get_encoding()), text.encode(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