def get_aliases_base_paths():
 aliases_base_paths = (cfg.CONF.content.aliases_base_paths or '')
 if aliases_base_paths.endswith(':'):
  aliases_base_paths = aliases_base_paths[:(-1)]
 result = []
 aliases_base_paths = aliases_base_paths.split(':')
 result = aliases_base_paths
 result = [path for path in result if path]
 result = list(OrderedSet(result))
 return result

def get_aliases_base_paths ( ) : aliases_base_paths = ( cfg . CONF . content . aliases_base_paths or '' ) if aliases_base_paths . endswith ( ':' ) : aliases_base_paths = aliases_base_paths [ : ( - 1 ) ] result = [ ] aliases_base_paths = aliases_base_paths . split ( ':' ) result = aliases_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 action aliases .