selectors.py
branchstable
changeset 3638 648d6dbec630
parent 3522 cde0ff4f7a8c
child 3650 012da21e43fe
--- a/selectors.py	Mon Oct 12 12:20:51 2009 +0200
+++ b/selectors.py	Mon Oct 12 12:54:01 2009 +0200
@@ -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