trepan/processor/cmdproc.py
def write_history_file(self):
        """Write the command history file -- possibly."""
        settings = self.debugger.settings
        histfile = self.debugger.intf[-1].histfile
        if settings['hist_save']:
            try:
                import readline
                try:
                    readline.write_history_file(histfile)
                except IOError:
                    pass
            except ImportError:
                pass
            pass
        return
def write_history_file(self):
        """Write the command history file -- possibly."""
        settings = self.debugger.settings
        histfile = self.debugger.intf[-1].histfile
        if settings['hist_save']:
            try:
                import readline
                try:
                    readline.write_history_file(histfile)
                except IOError:
                    pass
            except ImportError:
                pass
            pass
        return
def write_history_file ( self ) : settings = self . debugger . settings histfile = self . debugger . intf [ - 1 ] . histfile if settings [ 'hist_save' ] : try : import readline try : readline . write_history_file ( histfile ) except IOError : pass except ImportError : pass pass return
Write the command history file -- possibly.
Write the command history file -- possibly .