def get_runners_base_paths():
 system_runners_base_path = get_system_runners_base_path()
 runners_base_paths = (cfg.CONF.content.runners_base_paths or '')
 if runners_base_paths.endswith(':'):
  runners_base_paths = runners_base_paths[:(-1)]
 result = []
 if system_runners_base_path:
  result.append(system_runners_base_path)
 runners_base_paths = runners_base_paths.split(':')
 result = (result + runners_base_paths)
 result = [path for path in result if path]
 result = list(OrderedSet(result))
 return result

def get_runners_base_paths ( ) : system_runners_base_path = get_system_runners_base_path ( ) runners_base_paths = ( cfg . CONF . content . runners_base_paths or '' ) if runners_base_paths . endswith ( ':' ) : runners_base_paths = runners_base_paths [ : ( - 1 ) ] result = [ ] if system_runners_base_path : result . append ( system_runners_base_path ) runners_base_paths = runners_base_paths . split ( ':' ) result = ( result + runners_base_paths ) result = [ path for path in result if path ] result = list ( OrderedSet ( result ) ) return result
return a list of base paths which are searched for runners .