[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container - ContainerTraverser.py:1.4.6.1

Deb dhazarika@zeomega.com
Fri, 1 Nov 2002 07:49:53 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Container
In directory cvs.zope.org:/tmp/cvs-serv9518

Modified Files:
      Tag: Zope3-Bangalore-TTW-Branch
	ContainerTraverser.py 
Log Message:
modified to support introspector


=== Zope3/lib/python/Zope/App/OFS/Container/ContainerTraverser.py 1.4 => 1.4.6.1 ===
--- Zope3/lib/python/Zope/App/OFS/Container/ContainerTraverser.py:1.4	Thu Jul 11 14:21:29 2002
+++ Zope3/lib/python/Zope/App/OFS/Container/ContainerTraverser.py	Fri Nov  1 07:49:53 2002
@@ -35,9 +35,12 @@
         self.request = request
 
     def publishTraverse(self, request, name):
-        c = self.context
-
-        subob = c.get(name, None)
+        c = self.context
+        subob = None
+        try:
+            subob = c.get(name, None)
+        except:
+            pass
         if subob is None:
 
             view = queryView(c, name, request)