Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: 
Changeset: r180:0768b9ec165c
Date: 2011-12-26 23:42 +0200
http://bitbucket.org/pypy/jitviewer/changeset/0768b9ec165c/

Log:    fix PATH

diff --git a/bin/jitviewer.py b/bin/jitviewer.py
--- a/bin/jitviewer.py
+++ b/bin/jitviewer.py
@@ -172,8 +172,7 @@
         BaseServer.__init__ = __init__
 
 def main():
-    PATH = os.path.join(os.path.dirname((_jitviewer.__file__)))
-    print PATH
+    PATH = os.path.dirname(os.path.dirname((_jitviewer.__file__)))
     if not '__pypy__' in sys.builtin_module_names:
         print "Please run it using pypy-c"
         sys.exit(1)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to