Skip to content

Commit da987c9

Browse files
committed
Add viewer autobuild.xml roundtrip test
Fix a missing EOL after </llsd> and add a roundtrip test of viewer autobuild xml.
1 parent 414ab69 commit da987c9

File tree

4 files changed

+3994
-4
lines changed

4 files changed

+3994
-4
lines changed

llsd/serde_xml.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def _write(self, something):
163163
self.stream.writelines([b'<?xml version="1.0" ?>', self._eol,
164164
b'<llsd>', self._eol])
165165
self._generate(something)
166-
self.stream.write(b'</llsd>')
166+
self.stream.write(b'</llsd>' + self._eol)
167167

168168

169169
class LLSDXMLPrettyFormatter(LLSDXMLFormatter):

0 commit comments

Comments
 (0)