Commit 97fbbeb7 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[Python 2] Fix generation of documentation

parent 73f1adf6
...@@ -72,7 +72,7 @@ class XmlDocString (object): ...@@ -72,7 +72,7 @@ class XmlDocString (object):
from sys import stdout, stderr from sys import stdout, stderr
self.writeErrors(output) self.writeErrors(output)
self._clean() self._clean()
return self._linesep.join(self.lines) return self._linesep.join(self.lines).encode("utf-8")
def visit (self, node): def visit (self, node):
assert isinstance(node.tag, str) assert isinstance(node.tag, str)
Supports Markdown
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