Commit 42fb0308 authored by 's avatar

- reverted Zope2 specific changes that look unintended

parent 1ae68518
...@@ -53,12 +53,12 @@ from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile ...@@ -53,12 +53,12 @@ from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
from Products.Five.metaclass import makeClass from Products.Five.metaclass import makeClass
def page(_context, name, permission, for_, def page(_context, name, permission, for_=Interface,
layer=IDefaultBrowserLayer, template=None, class_=None, layer=IDefaultBrowserLayer, template=None, class_=None,
allowed_interface=None, allowed_attributes=None, allowed_interface=None, allowed_attributes=None,
attribute='__call__', menu=None, title=None, attribute='__call__', menu=None, title=None,
): ):
_handle_menu(_context, menu, title, [for_], name, permission) _handle_menu(_context, menu, title, [for_], name, permission, layer)
if not (class_ or template): if not (class_ or template):
raise ConfigurationError("Must specify a class or template") raise ConfigurationError("Must specify a class or template")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment