[Zope-Checkins] CVS: Zope2 - Publish.py:1.147.92.2

Brian Lloyd brian@digicool.com
Wed, 11 Apr 2001 13:54:41 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/ZPublisher
In directory korak:/home/brian/temp/zope-23-branch/lib/python/ZPublisher

Modified Files:
      Tag: zope-2_3-branch
	Publish.py 
Log Message:
Added link to profiler docs in profiler output.



--- Updated File Publish.py in package Zope2 --
--- Publish.py	2001/02/23 20:53:20	1.147.92.1
+++ Publish.py	2001/04/11 17:54:40	1.147.92.2
@@ -402,6 +402,11 @@
             try:
                 error=sys.exc_info()
                 file=open(_pfile, 'w')
+                file.write(
+                "See the url "
+                "http://www.python.org/doc/current/lib/module-profile.html"
+                "\n for information on interpreting profiler statistics.\n\n"
+                    )
                 sys.stdout=file
                 _pstat.strip_dirs().sort_stats('cumulative').print_stats(250)
                 _pstat.strip_dirs().sort_stats('time').print_stats(250)