def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def visitdir(self, dir):
        if self(dir):
            return "all"
        return self._matcher.visitdir(dir)