summaryrefslogtreecommitdiff
path: root/cherrypy/lib/profiler.py
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2009-02-11 22:48:56 +0000
committerRobert Brewer <fumanchu@aminus.org>2009-02-11 22:48:56 +0000
commite0395e965ac148467d35e1376f8905a56ce31052 (patch)
treec687080d391d7c00f9309bfd7bb89a7766f4e60a /cherrypy/lib/profiler.py
parent480d78a9c1c6801f1c4ad09cd7cd3c663caa81eb (diff)
downloadcherrypy-git-e0395e965ac148467d35e1376f8905a56ce31052.tar.gz
Fixed outdated warning for profiler on Debian.
Diffstat (limited to 'cherrypy/lib/profiler.py')
-rw-r--r--cherrypy/lib/profiler.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/cherrypy/lib/profiler.py b/cherrypy/lib/profiler.py
index 704fec47..61891278 100644
--- a/cherrypy/lib/profiler.py
+++ b/cherrypy/lib/profiler.py
@@ -52,9 +52,8 @@ except ImportError:
pstats = None
import warnings
msg = ("Your installation of Python does not have a profile module. "
- "If you're on Debian, you can apt-get python2.4-profiler from "
- "non-free in a separate step. See http://www.cherrypy.org/wiki/"
- "ProfilingOnDebian for details.")
+ "If you're on Debian, try `sudo apt-get install python-profiler`. "
+ "See http://www.cherrypy.org/wiki/ProfilingOnDebian for details.")
warnings.warn(msg)
import os, os.path