def register_runners(runner_dirs=None, experimental=False, fail_on_failure=True):
 LOG.debug('Start : register runners')
 runner_count = 0
 runner_loader = RunnersLoader()
 if (not runner_dirs):
  runner_dirs = content_utils.get_runners_base_paths()
 runners = runner_loader.get_runners(runner_dirs)
 for (runner, path) in runners.iteritems():
  LOG.debug(('Runner "%s"' % runner))
  runner_manifest = os.path.join(path, MANIFEST_FILE_NAME)
  meta_loader = MetaLoader()
  runner_types = meta_loader.load(runner_manifest)
  for runner_type in runner_types:
   runner_count += register_runner(runner_type, experimental)
 LOG.debug('End : register runners')
 return runner_count

def register_runners ( runner_dirs = None , experimental = False , fail_on_failure = True ) : LOG . debug ( 'Start : register runners' ) runner_count = 0 runner_loader = RunnersLoader ( ) if ( not runner_dirs ) : runner_dirs = content_utils . get_runners_base_paths ( ) runners = runner_loader . get_runners ( runner_dirs ) for ( runner , path ) in runners . iteritems ( ) : LOG . debug ( ( 'Runner "%s"' % runner ) ) runner_manifest = os . path . join ( path , MANIFEST_FILE_NAME ) meta_loader = MetaLoader ( ) runner_types = meta_loader . load ( runner_manifest ) for runner_type in runner_types : runner_count += register_runner ( runner_type , experimental ) LOG . debug ( 'End : register runners' ) return runner_count
register runners .