[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup - handlers.py:1.6.2.5

Chris McDonough chrism at zope.com
Tue Oct 21 10:41:03 EDT 2003


Update of /cvs-repository/Zope/lib/python/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv7753/lib/python/Zope/Startup

Modified Files:
      Tag: Zope-2_7-branch
	handlers.py 
Log Message:
Made 'publisher-profile-file' config file option work.  PROFILE_PUBLISHER environment variable is no longer respected.


=== Zope/lib/python/Zope/Startup/handlers.py 1.6.2.4 => 1.6.2.5 ===
--- Zope/lib/python/Zope/Startup/handlers.py:1.6.2.4	Thu Oct  2 15:08:45 2003
+++ Zope/lib/python/Zope/Startup/handlers.py	Tue Oct 21 10:40:32 2003
@@ -103,6 +103,8 @@
 
 def publisher_profile_file(value):
     value is not None and _setenv('PROFILE_PUBLISHER', value)
+    from ZPublisher.Publish import install_profiling
+    install_profiling(value)
     return value
 
 def http_realm(value):




More information about the Zope-Checkins mailing list