# HG changeset patch # User Sylvain Thénault # Date 1490363808 -3600 # Node ID 425be06bb1e8300d163304291531b4f16b32041c # Parent 1a5fc93c81db49f5322cf022bbeb5364941406da [config] Drop unused init_available_cubes method diff -r 1a5fc93c81db -r 425be06bb1e8 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'])