--- a/selectors.py Tue Oct 13 18:21:24 2009 +0200
+++ b/selectors.py Thu Oct 15 10:31:54 2009 +0200
@@ -43,7 +43,7 @@
__docformat__ = "restructuredtext en"
import logging
-from warnings import warn
+from warnings import warn, filterwarnings
from logilab.common.compat import all
from logilab.common.interface import implements as implements_iface
@@ -64,7 +64,7 @@
def lltrace(selector):
# don't wrap selectors if not in development mode
- if CubicWebConfiguration.mode == 'installed':
+ if CubicWebConfiguration.mode == 'system': # XXX config.debug
return selector
def traced(cls, *args, **kwargs):
# /!\ lltrace decorates pure function or __call__ method, this