Chris Withers  <[EMAIL PROTECTED]> wrote:
> Florent Guillaume wrote:
> > +                warn('DirectoryView %s refers to a non-existing path %s'
> > +                     % (, dirpath), UserWarning)
> Urg. I hate the warn module, anyone object if I change that to a normal 
> logging call?

I deliberately didn't use a LOG call, because this line will get
executed for every request if there is an old directory view present,
and it'll fill your logs pretty quickly, which is not acceptable.

Using warn was the quickest alternative that worked, if you have
something better...


Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   [EMAIL PROTECTED]
Zope-CMF maillist  -

See for bug reports and feature requests

Reply via email to