[pypy-commit] pypy default: use a .html extension
alex_gaynor
noreply at buildbot.pypy.org
Fri Jan 27 03:11:19 CET 2012
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r51842:457e2166648c
Date: 2012-01-26 21:11 -0500
http://bitbucket.org/pypy/pypy/changeset/457e2166648c/
Log: use a .html extension
diff --git a/pypy/module/micronumpy/tool/numready/main.py b/pypy/module/micronumpy/tool/numready/main.py
--- a/pypy/module/micronumpy/tool/numready/main.py
+++ b/pypy/module/micronumpy/tool/numready/main.py
@@ -118,6 +118,6 @@
with open(argv[2], 'w') as f:
f.write(html.encode("utf-8"))
else:
- with tempfile.NamedTemporaryFile(delete=False) as f:
+ with tempfile.NamedTemporaryFile(delete=False, suffix=".html") as f:
f.write(html.encode("utf-8"))
print "Saved in: %s" % f.name
More information about the pypy-commit
mailing list