Commit 225c6823 authored by Nicolas Delaby's avatar Nicolas Delaby

convert unicode string

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14955 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b14f6814
......@@ -823,6 +823,8 @@ class SynchronizationTool( SubscriptionSynchronization,
#LOG('sendResponse, from_url: ',0,from_url)
#LOG('sendResponse, sync_id: ',0,sync_id)
#LOG('sendResponse, xml: \n',0,xml)
if isinstance(xml, unicode):
xml = xml.encode('utf-8')
if domain is not None:
gpg_key = domain.getGPGKey()
if gpg_key not in ('',None):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment