[Checkins] SVN: zc.zope3recipes/trunk/zc/zope3recipes/debugzope.py Added logic to read product config.

Jim Fulton jim at zope.com
Tue May 1 17:23:40 EDT 2007


Log message for revision 74974:
  Added logic to read product config.
  

Changed:
  U   zc.zope3recipes/trunk/zc/zope3recipes/debugzope.py

-=-
Modified: zc.zope3recipes/trunk/zc/zope3recipes/debugzope.py
===================================================================
--- zc.zope3recipes/trunk/zc/zope3recipes/debugzope.py	2007-05-01 21:16:40 UTC (rev 74973)
+++ zc.zope3recipes/trunk/zc/zope3recipes/debugzope.py	2007-05-01 21:23:39 UTC (rev 74974)
@@ -21,8 +21,8 @@
 import zope.app.twisted.main
 import zope.app.appsetup.interfaces
 from zope.event import notify
+import zope.app.appsetup.product
 
-
 def load_options(args):
     options = zope.app.twisted.main.ZopeOptions()
     options.schemadir = os.path.dirname(os.path.abspath(
@@ -36,6 +36,7 @@
 
 
 def zglobals(options):
+    zope.app.appsetup.product.setProductConfigurations(options.product_config)
     zope.app.appsetup.config(options.site_definition)
     db = zope.app.appsetup.appsetup.multi_database(options.databases)[0][0]
     notify(zope.app.appsetup.interfaces.DatabaseOpened(db))



More information about the Checkins mailing list