[Zope3-checkins] CVS: Zope3/src/zope/app/schema/browser - traversal.py:1.4

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


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

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/schema/browser/traversal.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/schema/browser/traversal.py:1.3	Wed Mar 17 13:24:27 2004
+++ Zope3/src/zope/app/schema/browser/traversal.py	Sat Apr 17 13:15:34 2004
@@ -70,12 +70,9 @@
     def __init__(self, context):
         self._context = context
 
-    def traverse(self, name, parameters, original_name, furtherPath):
-        if parameters:
-            raise UnexpectedParameters(parameters)
-
+    def traverse(self, name, furtherPath):
         subobj = self._context.get(name, _marker)
         if subobj is _marker:
-            raise NotFoundError, original_name
+            raise NotFoundError, name
 
         return subobj




More information about the Zope3-Checkins mailing list