Changeset 882
- Timestamp:
- 12/23/05 16:24:28
- Files:
-
- trunk/cherrypy/lib/profiler.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/lib/profiler.py
r881 r882 39 39 return os.path.basename(filename[:-12]) + filename[-12:], line, name 40 40 return os.path.basename(filename), line, name 41 import pstats42 pstats.func_strip_path = new_func_strip_path43 41 44 42 try: 45 43 import profile 44 import pstats 45 pstats.func_strip_path = new_func_strip_path 46 46 except ImportError: 47 47 profile = None 48 pstats = None 48 49 import warnings 49 50 msg = ("Your installation of Python doesn't have a profile module. "

