(self, path)
return (items, error)
Same as self.try_listing_directory, but items contains only directories.
        Used for prompt completion
Same as self.try_listing_directory, but items contains only directories.
        Used for prompt completion
Same as self . try_listing_directory but items contains only directories . Used for prompt completion
def try_listing_only_dirs(self, path):
        '''Same as self.try_listing_directory, but items contains only directories.
        Used for prompt completion'''
        items, error = self.try_listing_directory(path)
        if items:
            items = [n for n in items if isdir(join(path, n))]
        return (items, error)
def try_listing_only_dirs ( self , path ) : items , error = self . try_listing_directory ( path ) if items : items = [ n for n in items if isdir ( join ( path , n ) ) ] return ( items , error )