From cc1e236e9e21367a664f812e30957d1c1285871a Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Wed, 1 Oct 2008 13:13:50 +0000
Subject: [PATCH] We should not change data from XML, if there is extra \n, it
 could be deliberate

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23934 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5SyncML/Conduit/ERP5Conduit.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/product/ERP5SyncML/Conduit/ERP5Conduit.py b/product/ERP5SyncML/Conduit/ERP5Conduit.py
index 518507f2a2..130fa9b6c7 100644
--- a/product/ERP5SyncML/Conduit/ERP5Conduit.py
+++ b/product/ERP5SyncML/Conduit/ERP5Conduit.py
@@ -886,7 +886,8 @@ class ERP5Conduit(XMLSyncUtilsMixin):
     """
     It is possible that the xml change the value, for example
     there is some too much '\n' and some spaces. We have to do some extra
-    things so that we convert correctly the vlalue
+    things so that we convert correctly the value
+    XXXNicolas: I'm totally disagree with, so i comment this code
     """
     if data is None:
       if data_type in self.list_type_list:
@@ -894,7 +895,7 @@ class ERP5Conduit(XMLSyncUtilsMixin):
       if data_type in self.text_type_list:
         data = ''
       return data
-    data = data.replace('\n','')
+    #data = data.replace('\n','')
     if type(data) is type(u"a"):
       data = data.encode(self.getEncoding())
     if data == 'None':
-- 
2.30.9