[z3-checkins] r5738 - z3/Five/branch/dc-experiments
dreamcatcher at codespeak.net
dreamcatcher at codespeak.net
Wed Jul 28 00:05:52 MEST 2004
Author: dreamcatcher
Date: Wed Jul 28 00:05:52 2004
New Revision: 5738
Modified:
z3/Five/branch/dc-experiments/traversable.py
Log:
Add KeyError to the list of exceptions to catch.
Modified: z3/Five/branch/dc-experiments/traversable.py
==============================================================================
--- z3/Five/branch/dc-experiments/traversable.py (original)
+++ z3/Five/branch/dc-experiments/traversable.py Wed Jul 28 00:05:52 2004
@@ -59,7 +59,7 @@
try:
kw = dict(path=[name], request=REQUEST)
return ITraverser(self).traverse(**kw).__of__(self)
- except (ComponentLookupError, NotFoundError, AttributeError):
+ except (ComponentLookupError, NotFoundError, AttributeError, KeyError):
pass
try:
return getattr(self, name)
More information about the z3-checkins
mailing list