[Erp5-report] r14955 - /erp5/trunk/products/ERP5SyncML/SynchronizationTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jun 25 19:20:46 CEST 2007
Author: nicolas
Date: Mon Jun 25 19:20:46 2007
New Revision: 14955
URL: http://svn.erp5.org?rev=14955&view=rev
Log:
convert unicode string
Modified:
erp5/trunk/products/ERP5SyncML/SynchronizationTool.py
Modified: erp5/trunk/products/ERP5SyncML/SynchronizationTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/SynchronizationTool.py?rev=14955&r1=14954&r2=14955&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/SynchronizationTool.py (original)
+++ erp5/trunk/products/ERP5SyncML/SynchronizationTool.py Mon Jun 25 19:20:46 2007
@@ -823,6 +823,8 @@
#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):
More information about the Erp5-report
mailing list