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

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


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

Modified Files:
	handlers.py 
Log Message:
Make 'publisher-profile-file' configuration file setting work.  Note that the environment variable "PROFILE_PUBLISHER" has been banished with this change.  We also change the core of Publish.py to not conditionally define functions in order to have a bit more control over the process.


=== Zope/lib/python/Zope/Startup/handlers.py 1.11 => 1.12 ===
--- Zope/lib/python/Zope/Startup/handlers.py:1.11	Thu Oct  2 15:09:27 2003
+++ Zope/lib/python/Zope/Startup/handlers.py	Tue Oct 21 10:10:17 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