[Zope-Checkins] SVN: Zope/branches/philikon-aq/lib/python/Products/Five/browser/adding.py Die, implicit, die

Philipp von Weitershausen philikon at philikon.de
Sat Jul 28 20:05:32 EDT 2007


Log message for revision 78447:
  Die, implicit, die
  

Changed:
  U   Zope/branches/philikon-aq/lib/python/Products/Five/browser/adding.py

-=-
Modified: Zope/branches/philikon-aq/lib/python/Products/Five/browser/adding.py
===================================================================
--- Zope/branches/philikon-aq/lib/python/Products/Five/browser/adding.py	2007-07-29 00:00:53 UTC (rev 78446)
+++ Zope/branches/philikon-aq/lib/python/Products/Five/browser/adding.py	2007-07-29 00:05:31 UTC (rev 78447)
@@ -35,15 +35,13 @@
 from zope.app.container.constraints import checkFactory, checkObject
 from zope.app.publisher.browser.menu import getMenu
 
-from Acquisition import Implicit
 from zExceptions import BadRequest
 from OFS.SimpleItem import SimpleItem
 
 from Products.Five import BrowserView
+from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
 
-from Products.Five.browser.pagetemplatefile import ZopeTwoPageTemplateFile
-
-class BasicAdding(Implicit, BrowserView):
+class BasicAdding(BrowserView):
     implements(IAdding, IPublishTraverse)
 
     def add(self, content):
@@ -164,7 +162,7 @@
 class Adding(BasicAdding):
 
     menu_id = None
-    index = ZopeTwoPageTemplateFile("adding.pt")
+    index = ViewPageTemplateFile("adding.pt")
 
     def addingInfo(self):
         """Return menu data.



More information about the Zope-Checkins mailing list