From c1b3f63653d973e99311797540c6aad2448f97b2 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sun, 15 Apr 2012 19:05:31 -0400 Subject: Try to get hg to treat importlib.h as binary. --- Python/freeze_importlib.py | 1 + Python/importlib.h | 1 + 2 files changed, 2 insertions(+) diff --git a/Python/freeze_importlib.py b/Python/freeze_importlib.py index a069a0b..9cce0b1 100644 --- a/Python/freeze_importlib.py +++ b/Python/freeze_importlib.py @@ -24,6 +24,7 @@ def main(input_path, output_path): lines.append('};\n') with open(output_path, 'w') as output_file: output_file.write('\n'.join(lines)) + output_file.write('\u0000') if __name__ == '__main__': diff --git a/Python/importlib.h b/Python/importlib.h index 6980231..f11dcbb 100644 --- a/Python/importlib.h +++ b/Python/importlib.h @@ -3107,3 +3107,4 @@ unsigned char _Py_M__importlib[] = { 13,12,9,12,15,12,17,15,2,6,2,12,41,18,25,12, 23,12,15,24,34,12,45, }; + \ No newline at end of file -- cgit v0.12