diff options
author | Robert Brewer <fumanchu@aminus.org> | 2009-06-14 22:57:43 +0000 |
---|---|---|
committer | Robert Brewer <fumanchu@aminus.org> | 2009-06-14 22:57:43 +0000 |
commit | fcfe0b95f43bfbeb21921cbfc38848724c12db94 (patch) | |
tree | 9aa8d880e015925e9cc1517471657a8a8c82dea9 /cherrypy/lib/profiler.py | |
parent | 47c22fbf17a94ce82dbb0564d304e10cea81e62b (diff) | |
download | cherrypy-git-fcfe0b95f43bfbeb21921cbfc38848724c12db94.tar.gz |
Removed py3print.
Diffstat (limited to 'cherrypy/lib/profiler.py')
-rw-r--r-- | cherrypy/lib/profiler.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cherrypy/lib/profiler.py b/cherrypy/lib/profiler.py index 41382b92..75ea17bc 100644 --- a/cherrypy/lib/profiler.py +++ b/cherrypy/lib/profiler.py @@ -54,7 +54,10 @@ except ImportError: import os, os.path import sys -from cherrypy.py3util import StringIO +try: + from cStringIO import StringIO +except ImportError: + from StringIO import StringIO _count = 0 |