Commit 4b02f652 authored by Hao Nguyen's avatar Hao Nguyen

Make sure to add a new line at the end of XML files

parent 9349e238
......@@ -53,6 +53,7 @@ def RewriteXml(filename, rewriter, add_xml_prefix=True):
if add_xml_prefix:
file_handle.write('<?xml version="1.0" encoding="UTF-8"?>\n')
file_handle.write(content)
file_handle.write('\n')
file_handle.close()
......
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