[Zope-CMF] Re: [CMF-checkins] CVS: Products/CMFCore - DirectoryView.py:1.47.2.7

yuppie y.2005- at wcm-solutions.de
Mon May 23 04:53:46 EDT 2005


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

Can you please tell us *why* you hate it? warnings.warn is used in many 
places, so if there is a good reason not to use it other code should be 
changed as well.

Cheers, Yuppie



More information about the Zope-CMF mailing list