def _get_search_paths(preferred_path=None, suffix=None):
 search_paths = [os.path.join('/etc', 'openstack_deploy')]
 if (preferred_path is not None):
  search_paths.insert(0, os.path.expanduser(preferred_path))
 if suffix:
  search_paths = [os.path.join(p, suffix) for p in search_paths]
 return search_paths

def _get_search_paths ( preferred_path = None , suffix = None ) : search_paths = [ os . path . join ( '/etc' , 'openstack_deploy' ) ] if ( preferred_path is not None ) : search_paths . insert ( 0 , os . path . expanduser ( preferred_path ) ) if suffix : search_paths = [ os . path . join ( p , suffix ) for p in search_paths ] return search_paths
return a list of search paths .