Commit bba61e96 authored by Nicolas Delaby's avatar Nicolas Delaby

String is allready encode in utf-8 by PrettyPrint

parent 46f1122e
......@@ -464,9 +464,6 @@ class ERP5Diff:
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):
......
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