[X2go-Commits] pyhoca-gui.git - master (branch) updated: 0.1.0.2-10-g51ec74b
X2go dev team
git-admin at x2go.org
Mon Jun 20 22:16:51 CEST 2011
The branch, master 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 -----------------------------------------------------------------
commit 51ec74b6782193e13b5b5d646d211328c1d7fa4f
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Jun 20 22:17:14 2011 +0200
Fix for encode/decode mis-direction
-----------------------------------------------------------------------
Summary of changes:
pyhoca/wxgui/notify.py | 4 ++--
1 files 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