Log message for revision 68312: Catch all possible (in Zope2) traversal exceptions
Changed: U Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/Expressions.py -=- Modified: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/Expressions.py =================================================================== --- Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/Expressions.py 2006-05-28 13:54:27 UTC (rev 68311) +++ Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/Expressions.py 2006-05-28 15:14:20 UTC (rev 68312) @@ -237,7 +237,7 @@ try: ob1 = boboAwareZopeTraverse(ob1, name, None) ob2 = boboAwareZopeTraverse(ob2, name, None) - except LookupError: + except ZopeUndefs: return False return ob1 == ob2 _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins