[Zope3-checkins] CVS: Zope3/src/zope/app/publication - zopepublication.py:1.9

Jim Fulton jim@zope.com
Mon, 3 Feb 2003 10:03:08 -0500


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

Modified Files:
	zopepublication.py 
Log Message:
Got rid od pointless and confusing dependency of DefaultPublication.

Removed unused browser-publication methos.


=== Zope3/src/zope/app/publication/zopepublication.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/publication/zopepublication.py:1.8	Sat Jan 25 00:54:25 2003
+++ Zope3/src/zope/app/publication/zopepublication.py	Mon Feb  3 10:03:06 2003
@@ -18,7 +18,6 @@
 from zope.component.exceptions import ComponentLookupError
 from zodb.interfaces import ConflictError
 
-from zope.publisher.base import DefaultPublication
 from zope.publisher.publish import mapply
 from zope.publisher.interfaces import Retry
 from zope.publisher.interfaces.http import IHTTPRequest
@@ -52,7 +51,7 @@
         self.__del__ = f
 
 
-class ZopePublication(object, PublicationTraverse, DefaultPublication):
+class ZopePublication(object, PublicationTraverse):
     """Base Zope publication specification."""
 
     version_cookie = 'Zope-Version'
@@ -149,9 +148,6 @@
             raise SystemError, "Zope Application Not Found"
 
         return ProxyFactory(app)
-
-    def getDefaultTraversal(self, request, ob):
-        return ob, None
 
     def callObject(self, request, ob):
         return mapply(ob, request.getPositionalArguments(), request)