def _run_undo_commands(self, filepath):  # pylint: disable=no-self-use
        with open(filepath, 'rb') as csvfile:
            csvreader = csv.reader(csvfile)
            for command in reversed(list(csvreader)):
                try:
                    le_util.run_script(command)
                except errors.SubprocessError:
                    logger.error(
                        "Unable to run undo command: %s", " ".join(command))
Run all commands in a file.
dataset/ETHPy150Open letsencrypt/letsencrypt/certbot/reverter.py/Reverter._run_undo_commands