[Zope3-checkins] CVS: Zope3/src/zope/app/container - traversal.py:1.13

Jim Fulton jim at zope.com
Sat Apr 17 13:16:03 EDT 2004


Update of /cvs-repository/Zope3/src/zope/app/container
In directory cvs.zope.org:/tmp/cvs-serv18496/src/zope/app/container

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/container/traversal.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/container/traversal.py:1.12	Thu Mar 18 22:17:23 2004
+++ Zope3/src/zope/app/container/traversal.py	Sat Apr 17 13:15:32 2004
@@ -89,16 +89,13 @@
         self._container = container
 
 
-    def traverse(self, name, parameters, original_name, furtherPath):
-        if parameters:
-            raise UnexpectedParameters(parameters)
-
+    def traverse(self, name, furtherPath):
         container = self._container
 
         v = container.get(name, _marker)
         if v is _marker:
             v = getattr(container, name, _marker)
             if v is _marker:
-                raise NotFoundError, original_name
+                raise NotFoundError, name
 
         return v




More information about the Zope3-Checkins mailing list