cubicweb/cwconfig.py
changeset 11974 d92d75b17a85
parent 11966 fe995d56c949
child 11983 5de78b6fff2e
equal deleted inserted replaced
11973:5e7282bdf140 11974:d92d75b17a85
   712         for confmod in ('web.webconfig',  'etwist.twconfig',
   712         for confmod in ('web.webconfig',  'etwist.twconfig',
   713                         'server.serverconfig',):
   713                         'server.serverconfig',):
   714             try:
   714             try:
   715                 __import__('cubicweb.%s' % confmod)
   715                 __import__('cubicweb.%s' % confmod)
   716             except ImportError:
   716             except ImportError:
   717                 pass
   717                 cls.warning('failed to load config module %s (%s)',
       
   718                             ctlmod, exc)
   718 
   719 
   719     @classmethod
   720     @classmethod
   720     def load_cwctl_plugins(cls):
   721     def load_cwctl_plugins(cls):
   721         cls.cls_adjust_sys_path()
   722         cls.cls_adjust_sys_path()
   722         for ctlmod in ('web.webctl',  'etwist.twctl', 'server.serverctl',
   723         for ctlmod in ('web.webctl',  'etwist.twctl', 'server.serverctl',