[Zope3-checkins] CVS: Zope3/src/zope/app/wiki - traversal.py:1.4
Jim Fulton
jim at zope.com
Sat Apr 17 13:16:06 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/wiki
In directory cvs.zope.org:/tmp/cvs-serv18496/src/zope/app/wiki
Modified Files:
traversal.py
Log Message:
Removed the last vestiges of name parameters. Even though we stopped
supporting parameters in names (name;foo=bar) years ago, we still had
support in the apis. Sheesh.
=== Zope3/src/zope/app/wiki/traversal.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/wiki/traversal.py:1.3 Wed Mar 17 13:24:28 2004
+++ Zope3/src/zope/app/wiki/traversal.py Sat Apr 17 13:15:35 2004
@@ -68,14 +68,11 @@
self._wiki = getParent(page)
- def traverse(self, name, parameters, original_name, furtherPath):
- if parameters:
- raise UnexpectedParameters(parameters)
-
+ def traverse(self, name, furtherPath):
subobj = self._wiki.get(name, _marker)
if subobj is _marker:
subobj = getattr(self._page, name, _marker)
if subobj is _marker:
- raise NotFoundError, original_name
+ raise NotFoundError, name
return subobj
More information about the Zope3-Checkins
mailing list