[config] Drop unused init_available_cubes method 3.25
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 24 Mar 2017 14:56:48 +0100
branch3.25
changeset 12109 425be06bb1e8
parent 12108 1a5fc93c81db
child 12110 a9266a72f3e0
child 12115 8d0127498a28
[config] Drop unused init_available_cubes method
cubicweb/cwconfig.py
--- a/cubicweb/cwconfig.py	Tue Mar 28 11:26:48 2017 +0200
+++ b/cubicweb/cwconfig.py	Fri Mar 24 14:56:48 2017 +0100
@@ -760,17 +760,6 @@
             else:
                 cls.warning('no __init__ file in cube %s', cube)
 
-    @classmethod
-    def init_available_cubes(cls):
-        """cubes may register some sources (svnfile for instance) in their
-        __init__ file, so they should be loaded early in the startup process
-        """
-        for cube in cls.available_cubes():
-            try:
-                __import__('cubes.%s' % cube)
-            except Exception as ex:
-                cls.warning("can't init cube %s: %s", cube, ex)
-
     cubicweb_appobject_path = set(['entities'])
     cube_appobject_path = set(['entities'])