(self, path)
return manager.list(*parts)
Returns list of sub-nodes for given path.
Returns list of sub-nodes for given path.
Returns list of sub - nodes for given path .
def list(self, path):
        """Returns list of sub-nodes for given path."""
        try:
            manager, parts = self._parse_path(path)
        except MissingHostName:
            return [host for host in config['hosts']
                    if config.getboolean('hosts', host)]
        except MissingTemplateCategory:
            return CATEGORIES

        if not manager and not parts:
            return sorted(self._resources.keys())

        return manager.list(*parts)
def list ( self , path ) : try : manager , parts = self . _parse_path ( path ) except MissingHostName : return [ host for host in config [ 'hosts' ] if config . getboolean ( 'hosts' , host ) ] except MissingTemplateCategory : return CATEGORIES if not manager and not parts : return sorted ( self . _resources . keys ( ) ) return manager . list ( * parts )