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

_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to