Catch all possible (in Zope2) traversal exceptions

parent c1b50358
...@@ -237,7 +237,7 @@ class PathIterator(ZopeIterator): ...@@ -237,7 +237,7 @@ class PathIterator(ZopeIterator):
try: try:
ob1 = boboAwareZopeTraverse(ob1, name, None) ob1 = boboAwareZopeTraverse(ob1, name, None)
ob2 = boboAwareZopeTraverse(ob2, name, None) ob2 = boboAwareZopeTraverse(ob2, name, None)
except LookupError: except ZopeUndefs:
return False return False
return ob1 == ob2 return ob1 == ob2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment