[Zope3-checkins] CVS: Zope3/src/zope/app - _app.py:1.13

Jim Fulton jim@zope.com
Mon, 28 Jul 2003 18:20:54 -0400


Update of /cvs-repository/Zope3/src/zope/app
In directory cvs.zope.org:/tmp/cvs-serv29869/src/zope/app

Modified Files:
	_app.py 
Log Message:
Changed to use new configuration api


=== Zope3/src/zope/app/_app.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/_app.py:1.12	Thu Jun 26 10:42:34 2003
+++ Zope3/src/zope/app/_app.py	Mon Jul 28 18:20:19 2003
@@ -32,7 +32,7 @@
     if _configured:
         return
 
-    from zope.configuration.xmlconfig import XMLConfig
+    from zope.configuration import xmlconfig
 
     # Set user to system_user, so we can do anything we want
     from zope.security.management import system_user
@@ -40,7 +40,7 @@
     newSecurityManager(system_user)
 
     # Load server-independent site config
-    XMLConfig(file)()
+    xmlconfig.file(file)
 
     # Reset user
     from zope.security.management import noSecurityManager