Commits

Robert Brewer committed afe62b3

Buglets.

  • Participants
  • Parent commits cda129e
  • Branches cherrypy-3.0.x

Comments (0)

Files changed (2)

File cherrypy/lib/profiler.py

     def statfiles(self):
         """statfiles() -> list of available profiles."""
         return [f for f in os.listdir(self.path)
-                if f.startswith("cp_") and f.endswith(".prof")]
+                if f.endswith(".prof")]
     
     def stats(self, filename, sortby='cumulative'):
         """stats(index) -> output of print_stats() for the given profile."""

File cherrypy/test/helper.py

 import re
 import sys
 import thread
+import warnings
 
 import cherrypy
 from cherrypy.lib import http, profiler