'Wrapper for `List Directory` that returns only directories.'

def list_directories_in_directory(self, path, pattern=None, absolute=False):

    dirs = self._list_dirs_in_dir(path, pattern, absolute)
    self._info(('%d    director%s:\n%s' % (len(dirs), ('y' if (len(dirs) == 1) else 'ies'), '\n'.join(dirs))))
    return dirs
