[Checkins] SVN: Zope/branches/philikon-aq/lib/python/Products/Five/browser/metaconfigure.py Use new name, ViewPageTemplateFile

Philipp von Weitershausen philikon at philikon.de
Sat Jul 28 14:44:06 EDT 2007


Log message for revision 78433:
  Use new name, ViewPageTemplateFile
  

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

-=-
Modified: Zope/branches/philikon-aq/lib/python/Products/Five/browser/metaconfigure.py
===================================================================
--- Zope/branches/philikon-aq/lib/python/Products/Five/browser/metaconfigure.py	2007-07-28 18:25:55 UTC (rev 78432)
+++ Zope/branches/philikon-aq/lib/python/Products/Five/browser/metaconfigure.py	2007-07-28 18:44:05 UTC (rev 78433)
@@ -39,7 +39,7 @@
 from Products.Five.browser.resource import ImageResourceFactory
 from Products.Five.browser.resource import PageTemplateResourceFactory
 from Products.Five.browser.resource import DirectoryResourceFactory
-from Products.Five.browser.pagetemplatefile import ZopeTwoPageTemplateFile
+from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
 from Products.Five.metaclass import makeClass
 from Products.Five.security import getSecurityInfo, protectClass, protectName
 from Products.Five.security import CheckerPrivateId
@@ -185,7 +185,7 @@
 
         for pname, attribute, template in self.pages:
             if template:
-                cdict[pname] = ZopeTwoPageTemplateFile(template)
+                cdict[pname] = ViewPageTemplateFile(template)
                 if attribute and attribute != name:
                     cdict[attribute] = cdict[pname]
             else:
@@ -421,7 +421,7 @@
     # XXX needs to deal with security from the bases?
     if cdict is None:
         cdict = {}
-    cdict.update({'index': ZopeTwoPageTemplateFile(filename, globals),
+    cdict.update({'index': ViewPageTemplateFile(filename, globals),
                   '__name__': name})
     bases += (ViewMixinForTemplates,)
     class_ = makeClass("SimpleViewClass from %s" % filename, bases, cdict)



More information about the Checkins mailing list