Skip to content

Commit

Permalink
- reverted Zope2 specific changes that look unintended
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Jul 5, 2012
1 parent 1ae6851 commit 42fb030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Products/Five/browser/metaconfigure.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@
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,
allowed_interface=None, allowed_attributes=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):
raise ConfigurationError("Must specify a class or template")
Expand Down

0 comments on commit 42fb030

Please sign in to comment.