[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Traversing - Traverser.py:1.5
Steve Alexander
steve@cat-box.net
Mon, 11 Nov 2002 09:32:16 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Traversing
In directory cvs.zope.org:/tmp/cvs-serv6184/lib/python/Zope/App/Traversing
Modified Files:
Traverser.py
Log Message:
Removed bare except:
It is possible that this should be catching more exceptions and treating
them in the same way. If so, put more specific excepts in. Do not put a
bare except back here!
=== Zope3/lib/python/Zope/App/Traversing/Traverser.py 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/App/Traversing/Traverser.py:1.4 Sat Jul 13 10:18:36 2002
+++ Zope3/lib/python/Zope/App/Traversing/Traverser.py Mon Nov 11 09:32:16 2002
@@ -105,8 +105,7 @@
curr = ContextWrapper(next, curr, name=name)
return curr
-
- except:
+ except NotFoundError:
if default == _marker:
raise
return default