[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Publisher/Browser - ResourceMeta.py:1.4
Steve Alexander
steve@cat-box.net
Mon, 28 Oct 2002 06:57:14 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Publisher/Browser
In directory cvs.zope.org:/tmp/cvs-serv28969/lib/python/Zope/App/Publisher/Browser
Modified Files:
ResourceMeta.py
Log Message:
Minor formatting amendment, and also added a comment of a datastructure
that confused me when I initially came across it.
=== Zope3/lib/python/Zope/App/Publisher/Browser/ResourceMeta.py 1.3 => 1.4 ===
--- Zope3/lib/python/Zope/App/Publisher/Browser/ResourceMeta.py:1.3 Tue Jun 25 10:28:42 2002
+++ Zope3/lib/python/Zope/App/Publisher/Browser/ResourceMeta.py Mon Oct 28 06:57:13 2002
@@ -33,7 +33,7 @@
class resource(object):
type = IBrowserPresentation
- default_allowed_attributes = '__call__'
+ default_allowed_attributes = '__call__' # space separated string
def __init__(self, _context, factory=None, name=None, layer='default',
permission=None,
@@ -133,7 +133,7 @@
return pageView
- def __call__(self, require = None):
+ def __call__(self, require=None):
if self.name is None:
return ()