summaryrefslogtreecommitdiffstats
path: root/Python/freeze_importlib.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-04-15 23:05:31 (GMT)
committerBrett Cannon <brett@python.org>2012-04-15 23:05:31 (GMT)
commitc1b3f63653d973e99311797540c6aad2448f97b2 (patch)
tree0c724231c6e1394e6a81eae2896d52a42f275b36 /Python/freeze_importlib.py
parent8a1d04c64372d4706572671a21ff9d3e4a6374ca (diff)
downloadcpython-c1b3f63653d973e99311797540c6aad2448f97b2.zip
cpython-c1b3f63653d973e99311797540c6aad2448f97b2.tar.gz
cpython-c1b3f63653d973e99311797540c6aad2448f97b2.tar.bz2
Try to get hg to treat importlib.h as binary.
Diffstat (limited to 'Python/freeze_importlib.py')
-rw-r--r--Python/freeze_importlib.py1
1 files changed, 1 insertions, 0 deletions
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__':