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

pull/5471/head
Hao Nguyen 6 years ago
parent 9349e23827
commit 4b02f652e0
  1. 1
      update_version.py

@ -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()

Loading…
Cancel
Save