Log message for revision 84545: Launchpad #173658: Removed dead code in OFS.Traversable's 'unrestrictedTraverse' (apparent NameError).
Changed: U Zope/trunk/lib/python/OFS/Traversable.py -=- Modified: Zope/trunk/lib/python/OFS/Traversable.py =================================================================== --- Zope/trunk/lib/python/OFS/Traversable.py 2008-03-08 17:51:07 UTC (rev 84544) +++ Zope/trunk/lib/python/OFS/Traversable.py 2008-03-08 17:54:47 UTC (rev 84545) @@ -161,8 +161,8 @@ # If the path starts with an empty string, go to the root first. path_pop() obj = self.getPhysicalRoot() - if restricted and not validate(None, None, None, obj): - raise Unauthorized(name) + if restricted: + validate(None, None, None, obj) # may raise Unauthorized else: obj = self _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins