[Zope-Checkins] SVN: Zope/trunk/src/Products/Five/browser/metaconfigure.py Merge cleanup
Hanno Schlichting
hannosch at hannosch.eu
Sat Jul 10 06:24:33 EDT 2010
Log message for revision 114492:
Merge cleanup
Changed:
U Zope/trunk/src/Products/Five/browser/metaconfigure.py
-=-
Modified: Zope/trunk/src/Products/Five/browser/metaconfigure.py
===================================================================
--- Zope/trunk/src/Products/Five/browser/metaconfigure.py 2010-07-10 10:21:25 UTC (rev 114491)
+++ Zope/trunk/src/Products/Five/browser/metaconfigure.py 2010-07-10 10:24:32 UTC (rev 114492)
@@ -15,12 +15,10 @@
Directives to emulate the 'http://namespaces.zope.org/browser'
namespace in ZCML known from zope.app.
-
-$Id$
"""
+
import os
from inspect import ismethod
-import warnings
from zope import component
from zope.interface import implements
@@ -192,23 +190,6 @@
class view(zope.browserpage.metaconfigure.view):
- # Let the permission default to zope.Public and not be required
- # We should support this, as more users are expecting it to work.
- def __init__(self, _context, permission=None, for_=Interface,
- name='', layer=IDefaultBrowserLayer, class_=None,
- allowed_interface=None, allowed_attributes=None,
- menu=None, title=None, provides=Interface,
- ):
- if permission is None:
- permission = 'zope.Public'
-
- super(view, self).__init__(
- _context, permission, for_=for_, name=name, layer=layer,
- class_=class_, allowed_interface=allowed_interface,
- allowed_attributes=allowed_attributes, menu=menu, title=title,
- provides=provides)
-
-
def __call__(self):
(_context, name, for_, permission, layer, class_,
allowed_interface, allowed_attributes) = self.args
More information about the Zope-Checkins
mailing list