mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
intel/genxml: Add final newline to output when saving xml
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24605>
This commit is contained in:
parent
548a0bc7d2
commit
549540ca7c
1 changed files with 1 additions and 0 deletions
|
|
@ -213,6 +213,7 @@ class GenXml(object):
|
|||
b_io = io.BytesIO()
|
||||
et.indent(self.et, space=' ')
|
||||
self.et.write(b_io, encoding="utf-8", xml_declaration=True)
|
||||
b_io.write(b'\n')
|
||||
|
||||
tmp = self.filename.with_suffix(f'{self.filename.suffix}.tmp')
|
||||
tmp.write_bytes(b_io.getvalue())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue