equal
deleted
inserted
replaced
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') |