cwconfig.py
branchstable
changeset 4095 72fd2d4cc782
parent 4001 bc31ede2085d
child 4118 8a9a00a9405c
equal deleted inserted replaced
4065:6e8da644d996 4095:72fd2d4cc782
   474                         'devtools/devctl.py', 'goa/goactl.py'):
   474                         'devtools/devctl.py', 'goa/goactl.py'):
   475             if exists(join(CW_SOFTWARE_ROOT, ctlfile)):
   475             if exists(join(CW_SOFTWARE_ROOT, ctlfile)):
   476                 try:
   476                 try:
   477                     load_module_from_file(join(CW_SOFTWARE_ROOT, ctlfile))
   477                     load_module_from_file(join(CW_SOFTWARE_ROOT, ctlfile))
   478                 except ImportError, err:
   478                 except ImportError, err:
   479                     cls.critical('could not import the command provider %s (cause : %s)' %
   479                     cls.info('could not import the command provider %s (cause : %s)' %
   480                                 (ctlfile, err))
   480                                 (ctlfile, err))
   481                 cls.info('loaded cubicweb-ctl plugin %s', ctlfile)
   481                 cls.info('loaded cubicweb-ctl plugin %s', ctlfile)
   482         for cube in cls.available_cubes():
   482         for cube in cls.available_cubes():
   483             pluginfile = join(cls.cube_dir(cube), 'ecplugin.py')
   483             pluginfile = join(cls.cube_dir(cube), 'ecplugin.py')
   484             initfile = join(cls.cube_dir(cube), '__init__.py')
   484             initfile = join(cls.cube_dir(cube), '__init__.py')