[pypy-svn] r68144 - pypy/trunk/pypy/jit/backend

cfbolz at codespeak.net cfbolz at codespeak.net
Sun Oct 4 17:11:57 CEST 2009


Author: cfbolz
Date: Sun Oct  4 17:11:57 2009
New Revision: 68144

Modified:
   pypy/trunk/pypy/jit/backend/showstats.py
Log:
fix showstats


Modified: pypy/trunk/pypy/jit/backend/showstats.py
==============================================================================
--- pypy/trunk/pypy/jit/backend/showstats.py	(original)
+++ pypy/trunk/pypy/jit/backend/showstats.py	Sun Oct  4 17:11:57 2009
@@ -11,7 +11,7 @@
 alldict = AllDict()
 
 def main(argv):
-    lst = py.path.local(argv[0]).read().split("[")
+    lst = ("\n" + py.path.local(argv[0]).read()).split("\n[")
     lst = ['[' + i for i in lst if i]
     for oplist in lst:
         loop = parse(oplist, namespace=alldict)



More information about the Pypy-commit mailing list