Commit b84bc7a7 authored by Antoine Pitrou's avatar Antoine Pitrou

Avoid "warning: no newline at end of file" in importlib.h.

parent 32bc80c5
...@@ -25,6 +25,8 @@ def main(input_path, output_path): ...@@ -25,6 +25,8 @@ def main(input_path, output_path):
with open(output_path, 'w', encoding='utf-8') as output_file: with open(output_path, 'w', encoding='utf-8') as output_file:
output_file.write('\n'.join(lines)) output_file.write('\n'.join(lines))
output_file.write('/* Mercurial binary marker: \x00 */') output_file.write('/* Mercurial binary marker: \x00 */')
# Avoid a compiler warning for lack of EOL
output_file.write('\n')
if __name__ == '__main__': if __name__ == '__main__':
......
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