[Zope-Checkins] CVS: Zope/lib/python/ZServer/PubCore - ZServerPublisher.py:1.12

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


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

Modified Files:
	ZServerPublisher.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/ZServer/PubCore/ZServerPublisher.py 1.11 => 1.12 ===
--- Zope/lib/python/ZServer/PubCore/ZServerPublisher.py:1.11	Wed Oct  1 00:24:25 2003
+++ Zope/lib/python/ZServer/PubCore/ZServerPublisher.py	Tue Oct 21 10:10:16 2003
@@ -10,10 +10,10 @@
 # FOR A PARTICULAR PURPOSE
 #
 ##############################################################################
-from ZPublisher import publish_module
 
 class ZServerPublisher:
     def __init__(self, accept):
+        from ZPublisher import publish_module
         while 1:
             try:
                 name, request, response=accept()




More information about the Zope-Checkins mailing list