def enumerateGroups(self, name=None):
    return [deepcopy(i) for i in GroupEnt.objects if ((name is None) or fnmatch(i, name))]
def enumerateGroups(self, name=None):
    return [deepcopy(i) for i in GroupEnt.objects if ((name is None) or fnmatch(i, name))]