cubicweb/pyramid/__init__.py
branch3.25
changeset 12101 3fd9c12a4426
parent 12079 4870e5a60a52
child 12137 4db0f2251960
--- a/cubicweb/pyramid/__init__.py	Fri Mar 24 11:21:39 2017 +0100
+++ b/cubicweb/pyramid/__init__.py	Fri Mar 24 09:37:51 2017 +0100
@@ -22,7 +22,6 @@
 
 import atexit
 import os
-from warnings import warn
 
 import wsgicors
 
@@ -239,10 +238,3 @@
 
     if asbool(config.registry.settings.get('cubicweb.bwcompat', True)):
         config.include('cubicweb.pyramid.bwcompat')
-
-    if cwconfig.debugmode:
-        try:
-            config.include('pyramid_debugtoolbar')
-        except ImportError:
-            warn('pyramid_debugtoolbar package not available, install it to '
-                 'get UI debug features', RuntimeWarning)