1. shishir kumar
  2. CherryPy


Robert Brewer  committed afe62b3


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

Comments (0)

Files changed (2)

File cherrypy/lib/profiler.py

View file
  • Ignore whitespace
     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

View file
  • Ignore whitespace
 import re
 import sys
 import thread
+import warnings
 import cherrypy
 from cherrypy.lib import http, profiler