[Zope3-checkins] CVS: Zope3/src/zope/app/tests - setup.py:1.27
ztapi.py:1.9
Jim Fulton
jim at zope.com
Fri Apr 23 07:38:58 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/tests
In directory cvs.zope.org:/tmp/cvs-serv22768/src/zope/app/tests
Modified Files:
setup.py ztapi.py
Log Message:
Updated to use None for the type, rather than zope.interface.Interface.
I think this makes the intent clearer. The effect is the same.
=== Zope3/src/zope/app/tests/setup.py 1.26 => 1.27 ===
--- Zope3/src/zope/app/tests/setup.py:1.26 Sun Apr 18 12:00:32 2004
+++ Zope3/src/zope/app/tests/setup.py Fri Apr 23 07:38:57 2004
@@ -65,7 +65,7 @@
# set up etc namespace
ztapi.provideAdapter(None, ITraversable, etc, name="etc")
- ztapi.provideView(None, zope.interface.Interface, ITraversable, "etc", etc)
+ ztapi.provideView(None, None, ITraversable, "etc", etc)
ztapi.browserView(None, "absolute_url", AbsoluteURL)
ztapi.browserView(IContainmentRoot, "absolute_url", SiteAbsoluteURL)
=== Zope3/src/zope/app/tests/ztapi.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/tests/ztapi.py:1.8 Sun Apr 18 12:00:32 2004
+++ Zope3/src/zope/app/tests/ztapi.py Fri Apr 23 07:38:57 2004
@@ -80,4 +80,4 @@
def provideNamespaceHandler(name, handler):
provideAdapter(None, ITraversable, handler, name=name)
- provideView(None, zope.interface.Interface, ITraversable, name, handler)
+ provideView(None, None, ITraversable, name, handler)
More information about the Zope3-Checkins
mailing list