Changeset 881
- Timestamp:
- 12/23/05 16:09:04
- Files:
-
- trunk/cherrypy/lib/profiler.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/lib/profiler.py
r856 r881 42 42 pstats.func_strip_path = new_func_strip_path 43 43 44 import profile 44 try: 45 import profile 46 except ImportError: 47 profile = None 48 import warnings 49 msg = ("Your installation of Python doesn't have a profile module. " 50 "If you're on Debian, you can apt-get python2.4-profiler from " 51 "non-free in a separate step. See http://www.cherrypy.org/wiki/" 52 "ProfilingOnDebian for details.") 53 warnings.warn(msg) 54 45 55 import os, os.path 46 56 import sys

