def reject_all(self):
        '''
        Reject all keys in pre
        '''
        keys = self.list_keys()
        for key in keys[self.PEND]:
            try:
                shutil.move(
                        os.path.join(
                            self.opts['pki_dir'],
                            self.PEND,
                            key),
                        os.path.join(
                            self.opts['pki_dir'],
                            self.REJ,
                            key)
                        )
            except (__HOLE__, OSError):
                pass
        self.check_minion_cache()
        return self.list_keys()
dataset/ETHPy150Open saltstack/salt/salt/key.py/RaetKey.reject_all