'Build a completion list of group names matching text'

def _complete_groups(self, text):

    groups = []
    for info in self._get_complete_info():
        if (info['group'] not in groups):
            groups.append(info['group'])
    return [(g + '    ') for g in groups if g.startswith(text)]
