trepan/processor/cmdproc.py
def queue_startfile(self, cmdfile):
        """Arrange for file of debugger commands to get read in the
        process-command loop."""
        expanded_cmdfile = os.path.expanduser(cmdfile)
        is_readable = Mfile.readable(expanded_cmdfile)
        if is_readable:
            self.cmd_queue.append('source ' + expanded_cmdfile)
        elif is_readable is None:
            self.errmsg("source file '%s' doesn't exist" % expanded_cmdfile)
        else:
            self.errmsg("source file '%s' is not readable" %
                        expanded_cmdfile)
            pass
        return
def queue_startfile(self, cmdfile):
        expanded_cmdfile = os.path.expanduser(cmdfile)
        is_readable = Mfile.readable(expanded_cmdfile)
        if is_readable:
            self.cmd_queue.append('source ' + expanded_cmdfile)
        elif is_readable is None:
            self.errmsg("source file '%s' doesn't exist" % expanded_cmdfile)
        else:
            self.errmsg("source file '%s' is not readable" %
                        expanded_cmdfile)
            pass
        return
def queue_startfile ( self , cmdfile ) : expanded_cmdfile = os . path . expanduser ( cmdfile ) is_readable = Mfile . readable ( expanded_cmdfile ) if is_readable : self . cmd_queue . append ( 'source ' + expanded_cmdfile ) elif is_readable is None : self . errmsg ( "source file '%s' doesn't exist" % expanded_cmdfile ) else : self . errmsg ( "source file '%s' is not readable" % expanded_cmdfile ) pass return
Arrange for file of debugger commands to get read in the
        process-command loop.
Arrange for file of debugger commands to get read in the process - command loop .