[pypy-commit] pypy translation-time-measurments: style

fijal noreply at buildbot.pypy.org
Sat Jan 7 14:07:43 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: translation-time-measurments
Changeset: r51112:cd2fd844ad80
Date: 2012-01-07 15:07 +0200
http://bitbucket.org/pypy/pypy/changeset/cd2fd844ad80/

Log:	style

diff --git a/pypy/annotation/annrpython.py b/pypy/annotation/annrpython.py
--- a/pypy/annotation/annrpython.py
+++ b/pypy/annotation/annrpython.py
@@ -258,7 +258,7 @@
                 import os
                 f = open('/tmp/annotator%d' % os.getpid(), 'w')
                 for k, v in self.counter.iteritems():
-                    f.write('%s: %d' % (k, v))
+                    f.write('%s: %f\n' % (k, v))
                 f.close()
                 break   # finished
         # make sure that the return variables of all graphs is annotated


More information about the pypy-commit mailing list