Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r120:585a52c8636b
Date: 2011-05-23 14:59 +0200
http://bitbucket.org/pypy/jitviewer/changeset/585a52c8636b/
Log: merge
diff --git a/README b/README
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
You need to use PyPy to run this. To get started, using a recent virtualenv
-(1.5.0 or newer), virtualenvwrapper, and a recent PyPy (trunk) create a
+(1.6.1 or newer), virtualenvwrapper, and a recent PyPy (1.5 or trunk) to
create a
virtualenv:
mkvirtualenv --python=/path/to/pypy-c pypy-viewer
diff --git a/bin/jitviewer.py b/bin/jitviewer.py
--- a/bin/jitviewer.py
+++ b/bin/jitviewer.py
@@ -108,7 +108,8 @@
startline, endline = loop.linerange
if loop.filename is not None:
- code = self.storage.load_code(loop.filename)[(loop.startlineno,
loop.name)]
+ code = self.storage.load_code(loop.filename)[(loop.startlineno,
+ loop.name)]
source = CodeRepr(inspect.getsource(code), code, loop)
else:
source = CodeReprNoFile(loop)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit