[Zope-Checkins] CVS: Zope3 - z3.py:1.1.2.2

Shane Hathaway shane@digicool.com
Fri, 16 Nov 2001 14:10:18 -0500


Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv12140

Modified Files:
      Tag: Zope-3x-branch
	z3.py 
Log Message:
Use ZopePublication


=== Zope3/z3.py 1.1.2.1 => 1.1.2.2 ===
 
 
-from Zope.Publisher.DefaultPublication import DefaultPublication
+from Zope.App.ZopePublication.ZopePublication import ZopePublication
 import Zope.Server, asyncore, zLOG
 
 Zope.Server.setNumberOfThreads(4)
@@ -21,7 +21,7 @@
 zLOG._set_log_dest(sys.stderr)
 
 server = Zope.Server.zhttp_server('', 8080)
-publication = DefaultPublication(App())
+publication = ZopePublication(App())
 handler = Zope.Server.zhttp_handler(publication, '', {})
 server.install_handler(handler)
 asyncore.loop()