def do(self):
        if self.errors:
            msg = self.groupError and 'Group' or 'Package'
            raise policy.PolicyError, ('%s Policy errors found:\n%%s' % msg) \
                    % "\n".join(self.errors)