cubicweb/cwconfig.py
changeset 11129 97095348b3ee
parent 11056 b7f8d2ee6532
parent 11072 8c3155a0ae5b
child 11209 631fe2751b73
equal deleted inserted replaced
11128:9b4de34ad394 11129:97095348b3ee
   626     def load_cwctl_plugins(cls):
   626     def load_cwctl_plugins(cls):
   627         from logilab.common.modutils import load_module_from_file
   627         from logilab.common.modutils import load_module_from_file
   628         cls.cls_adjust_sys_path()
   628         cls.cls_adjust_sys_path()
   629         for ctlfile in ('web/webctl.py',  'etwist/twctl.py',
   629         for ctlfile in ('web/webctl.py',  'etwist/twctl.py',
   630                         'server/serverctl.py',
   630                         'server/serverctl.py',
   631                         'devtools/devctl.py', 'goa/goactl.py'):
   631                         'devtools/devctl.py',):
   632             if exists(join(CW_SOFTWARE_ROOT, ctlfile)):
   632             if exists(join(CW_SOFTWARE_ROOT, ctlfile)):
   633                 try:
   633                 try:
   634                     load_module_from_file(join(CW_SOFTWARE_ROOT, ctlfile))
   634                     load_module_from_file(join(CW_SOFTWARE_ROOT, ctlfile))
   635                 except ImportError as err:
   635                 except ImportError as err:
   636                     cls.error('could not import the command provider %s: %s',
   636                     cls.error('could not import the command provider %s: %s',