[Zope3-checkins]
CVS: Zope3/src/zope/products/demo/insensitivefolder
- __init__.py:1.3 configure.zcml:1.3
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sat Feb 14 08:13:30 EST 2004
Update of /cvs-repository/Zope3/src/zope/products/demo/insensitivefolder
In directory cvs.zope.org:/tmp/cvs-serv8378/src/zope/products/demo/insensitivefolder
Modified Files:
__init__.py configure.zcml
Log Message:
- made factory permission zope.Public
- removed unused interface import
=== Zope3/src/zope/products/demo/insensitivefolder/__init__.py 1.2 => 1.3 ===
--- Zope3/src/zope/products/demo/insensitivefolder/__init__.py:1.2 Fri Feb 13 21:27:40 2004
+++ Zope3/src/zope/products/demo/insensitivefolder/__init__.py Sat Feb 14 08:13:27 2004
@@ -24,7 +24,6 @@
from zope.interface import \
implements, implementedBy, directlyProvides, directlyProvidedBy
from zope.publisher.interfaces import NotFound
-from zope.publisher.interfaces.browser import IBrowserPublisher
class CaseInsensitiveContainerTraverser(ContainerTraverser):
@@ -55,7 +54,8 @@
When traversing in this folder, all names will be converted to lower
case. For example, if the traverser requests an item called 'Foo', in
- reality item 'foo' is looked up in the container."""
+ reality the first item matching 'foo' or any upper-and-lowercase variants
+ are looked up in the container."""
class CaseInsensitiveFolderFactory(object):
"""A Factory that creates case-insensitive Folders."""
=== Zope3/src/zope/products/demo/insensitivefolder/configure.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/products/demo/insensitivefolder/configure.zcml:1.2 Fri Feb 13 21:29:15 2004
+++ Zope3/src/zope/products/demo/insensitivefolder/configure.zcml Sat Feb 14 08:13:27 2004
@@ -15,7 +15,7 @@
<!-- Case-insensitive Folder Registration -->
<factory
id="zope.CaseInsensitiveFolder"
- permission="zope.ManageContent"
+ permission="zope.Public"
component=".caseInsensitiveFolderFactory"
/>
More information about the Zope3-Checkins
mailing list