[pypy-commit] pypy default: logparser2json indentation

xando noreply at buildbot.pypy.org
Wed Jul 16 12:14:25 CEST 2014


Author: Sebastian Pawluś <sebastian.pawlus at gmail.com>
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:


More information about the pypy-commit mailing list