[pypy-svn] r53130 - pypy/dist/pypy/tool

fijal at codespeak.net fijal at codespeak.net
Sun Mar 30 06:21:36 CEST 2008


Author: fijal
Date: Sun Mar 30 06:21:36 2008
New Revision: 53130

Modified:
   pypy/dist/pypy/tool/lsprofcalltree.py
   pypy/dist/pypy/tool/udir.py
Log:
I wonder how many bugs I'll discover here...


Modified: pypy/dist/pypy/tool/lsprofcalltree.py
==============================================================================
--- pypy/dist/pypy/tool/lsprofcalltree.py	(original)
+++ pypy/dist/pypy/tool/lsprofcalltree.py	Sun Mar 30 06:21:36 2008
@@ -8,7 +8,7 @@
 import sys
 
 try:
-    import cProfile
+    import profile as cProfile
 except ImportError:
     raise SystemExit("This script requires cProfile from Python 2.5")
 

Modified: pypy/dist/pypy/tool/udir.py
==============================================================================
--- pypy/dist/pypy/tool/udir.py	(original)
+++ pypy/dist/pypy/tool/udir.py	Sun Mar 30 06:21:36 2008
@@ -18,7 +18,7 @@
         return basename.split('/')[-2]
 
 try:
-    basename = '-' + svn_info(py.path.svnwc(py.magic.autopath()).info().url) + '-'
+    basename = '-' + svn_info(py.path.svnwc(py.magic.autopath().dirpath()).info().url) + '-'
 except:
     basename = '-'
 



More information about the Pypy-commit mailing list