[z3-five] Five.traversable masking errors in views

Chris Withers chris at simplistix.co.uk
Wed Nov 29 11:48:59 CET 2006


Hi All,

Just been head scratching while trying to debug an AttributeError.

I was getting an AttributeError on @@myviewname. It was only from 
pdb'ing through traversable.py that I found that the except clause in 
line 114 of traversable.py was swallowing an AttributeError and 
re-raising an attribute error on the view name :-(

Is this really sane?

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the z3-five mailing list