[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate - simpleviewclass.py:1.9.24.1

Jim Fulton jim at zope.com
Mon Sep 8 15:22:15 EDT 2003


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

Modified Files:
      Tag: parentgeddon-branch
	simpleviewclass.py 
Log Message:
Checking in work in progress on parentgeddon-branch so Fred can help
me to get the tests passing.  Specific log entries will be provided
when we merge this into the head.


=== Zope3/src/zope/app/pagetemplate/simpleviewclass.py 1.9 => 1.9.24.1 ===
--- Zope3/src/zope/app/pagetemplate/simpleviewclass.py:1.9	Fri Jun  6 16:44:31 2003
+++ Zope3/src/zope/app/pagetemplate/simpleviewclass.py	Mon Sep  8 14:21:44 2003
@@ -20,7 +20,6 @@
 from zope.publisher.browser import BrowserView
 from zope.publisher.interfaces.browser import IBrowserPublisher
 from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
-from zope.context import ContextMethod
 from zope.publisher.interfaces import NotFound
 from zope.interface import implements
 
@@ -30,14 +29,12 @@
 
     def browserDefault(self, request):
         return self, ()
-    browserDefault = ContextMethod(browserDefault)
 
     def publishTraverse(self, request, name):
         if name == 'index.html':
             return self.index
 
         raise NotFound(self, name, request)
-    publishTraverse = ContextMethod(publishTraverse)
 
     # XXX: we need some unittests for this !!!
     def __getitem__(self, name):
@@ -45,7 +42,6 @@
 
     def __call__(self, template_usage=u'', *args, **kw):
         return self.index(template_usage, *args, **kw)
-    __call__ = ContextMethod(__call__)
 
 def SimpleViewClass(src, offering=None, used_for=None, bases=(), usage=u''):
     if offering is None:




More information about the Zope3-Checkins mailing list