Re: Changes to ZPublisher

Donovan Baarda <[email protected]>
Newsgroups gmane.comp.web.zope.coders
Organization http://minkirri.apana.org.au/~abo/
Message-ID <1097111958.1210.61.camel@schizo>
On Thu, 2004-10-07 at 11:13, Sidnei da Silva wrote:
> On Thu, Oct 07, 2004 at 11:10:05AM +1000, Donovan Baarda wrote:
> Returning None gives a 'object cannot be published because doesn't
> have a docstring.' which is even worse.

Hmm... didn't notice that... nasty.

So what is the current way for a __bobo_traverse__ to indicate "object
does not exist" and result in a 404?

Perhaps AttributeError = 404 is a good idea after all...

-- 
Donovan Baarda <[email protected]>
http://minkirri.apana.org.au/~abo/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.