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

This commit is contained in:
Antoine Pitrou 2012-05-16 12:58:04 +02:00
parent 32bc80c523
commit b84bc7a7ce
2 changed files with 3 additions and 1 deletions

View file

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