Author: Sebastian Pawluś <[email protected]>
Branch:
Changeset: r72454:674383905846
Date: 2014-07-16 12:11 +0200
http://bitbucket.org/pypy/pypy/changeset/674383905846/
Log: logparser2json indentation
diff --git a/rpython/tool/jitlogparser/logparser2json.py
b/rpython/tool/jitlogparser/logparser2json.py
--- a/rpython/tool/jitlogparser/logparser2json.py
+++ b/rpython/tool/jitlogparser/logparser2json.py
@@ -35,7 +35,7 @@
if not loop.descr.startswith('bridge')]
storage.loop_dict = create_loop_dict(loops)
json.dump([loop.force_asm().as_json() for loop in storage.loops],
- open(outfilename, "w"))
+ open(outfilename, "w"), indent=4)
if __name__ == '__main__':
if len(sys.argv) != 3:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit