[Erp5-report] r16854 - /erp5/trunk/utils/erp5diff/ERP5Diff.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Oct 5 13:23:12 CEST 2007


Author: nicolas
Date: Fri Oct  5 13:23:11 2007
New Revision: 16854

URL: http://svn.erp5.org?rev=16854&view=rev
Log:
String is allready encode in utf-8 by PrettyPrint

Modified:
    erp5/trunk/utils/erp5diff/ERP5Diff.py

Modified: erp5/trunk/utils/erp5diff/ERP5Diff.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5diff/ERP5Diff.py?rev=16854&r1=16853&r2=16854&view=diff
==============================================================================
--- erp5/trunk/utils/erp5diff/ERP5Diff.py (original)
+++ erp5/trunk/utils/erp5diff/ERP5Diff.py Fri Oct  5 13:23:11 2007
@@ -464,9 +464,6 @@
     if file is None:
       file = sys.stdout
 
-    # Make sure that the output will be encoded in UTF-8.
-    writer = codecs.getwriter('utf-8')
-    file = writer(file)
     PrettyPrint(self._result.documentElement, stream=file, encoding='UTF-8')
 
   def outputString(self):




More information about the Erp5-report mailing list