[Zope3-checkins] SVN: Zope3/branches/srichter-twisted-integration2/src/zope/app/wsgi/__init__.py Added features argument to WSGI application setup.

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Sep 9 10:33:05 EDT 2005


Log message for revision 38430:
  Added features argument to WSGI application setup.
  

Changed:
  U   Zope3/branches/srichter-twisted-integration2/src/zope/app/wsgi/__init__.py

-=-
Modified: Zope3/branches/srichter-twisted-integration2/src/zope/app/wsgi/__init__.py
===================================================================
--- Zope3/branches/srichter-twisted-integration2/src/zope/app/wsgi/__init__.py	2005-09-09 14:25:12 UTC (rev 38429)
+++ Zope3/branches/srichter-twisted-integration2/src/zope/app/wsgi/__init__.py	2005-09-09 14:33:04 UTC (rev 38430)
@@ -62,6 +62,7 @@
 
 
 def getWSGIApplication(configfile, schemafile=None,
+                       features=(),
                        requestFactory=HTTPPublicationRequestFactory):
     # Load the configuration schema
     if schemafile is None:
@@ -93,7 +94,7 @@
     options.eventlog()
 
     # Configure the application
-    appsetup.config(options.site_definition)
+    appsetup.config(options.site_definition, features=features)
 
     # Connect to and open the database
     # XXX: Handle multiple databases.



More information about the Zope3-Checkins mailing list