def accept(self, match=None, match_dict=None, include_rejected=False, include_denied=False):
        if match is not None:
            matches = self.name_match(match)
        elif match_dict is not None and isinstance(match_dict, dict):
            matches = match_dict
        else:
            matches = {}
        keydirs = [self.PEND]
        if include_rejected:
            keydirs.append(self.REJ)
        if include_denied:
            keydirs.append(self.DEN)
        for keydir in keydirs:
            for key in matches.get(keydir, []):
                try:
                    shutil.move(
                            os.path.join(
                                self.opts['pki_dir'],
                                keydir,
                                key),
                            os.path.join(
                                self.opts['pki_dir'],
                                self.ACC,
                                key)
                            )
                except (IOError, OSError):
                    pass
        return (
            self.name_match(match) if match is not None
            else self.dict_match(matches)
        )
Opens the artifact for modifications.  At the start the dirty
dataset/ETHPy150Open saltstack/salt/salt/key.py/RaetKey.accept--crossover with--dataset/ETHPy150Open lektor/lektor/lektor/builder.py/Artifact.update