[z3-checkins] r5691 - z3/Five/branch/dc-experiments
dreamcatcher at codespeak.net
dreamcatcher at codespeak.net
Mon Jul 26 16:15:36 MEST 2004
Author: dreamcatcher
Date: Mon Jul 26 16:15:36 2004
New Revision: 5691
Modified:
z3/Five/branch/dc-experiments/traversable.py
Log:
- We've agreed on IRC to allow non-@@-prefixed views, but not
resources. I couldn't yet find the traverser in Zope3 that we should
use though.
Modified: z3/Five/branch/dc-experiments/traversable.py
==============================================================================
--- z3/Five/branch/dc-experiments/traversable.py (original)
+++ z3/Five/branch/dc-experiments/traversable.py Mon Jul 26 16:15:36 2004
@@ -82,10 +82,6 @@
return getView(context, name, REQUEST).__of__(context)
except ComponentLookupError:
pass
- # If a view can't be found, try to lookup a resource
- resource = queryResourceInContext(context, name, REQUEST)
- if resource is not None:
- return resource
- # If a resource can't be found, then use default traversable
+ # If a view can't be found, then use default traversable
return super(FiveTraversable, self).traverse(name, furtherPath)
More information about the z3-checkins
mailing list