def undo(self):
        try:
            c = self._command_stack.pop()
            logging.getLogger(__name__).debug("Undo %s", c)
        except IndexError:
            raise IndexError("No commands to undo")
        self._undo_stack.append(c)
        c.undo(self._session)
        self.notify('undo')
Transfers the remote file to a local location.
dataset/ETHPy150Open glue-viz/glue/glue/core/command.py/CommandStack.undo--crossover with--dataset/ETHPy150Open airbnb/airflow/airflow/contrib/hooks/ftp_hook.py/FTPHook.retrieve_file