trepan/interfaces/script.py
def read_command(self, prompt=''):
        '''Script interface to read a command. `prompt' is a parameter for
        compatibilty and is ignored.'''
        self.input_lineno += 1
        line = self.readline()
        if self.verbose:
            location = "%s line %s" % (self.script_name, self.input_lineno)
            self.msg('+ %s: %s' % (location, line))
            pass
        # Do something with history?
        return line
def read_command(self, prompt=''):
        '''Script interface to read a command. `prompt' is a parameter for
        compatibilty and is ignored.'''
        self.input_lineno += 1
        line = self.readline()
        if self.verbose:
            location = "%s line %s" % (self.script_name, self.input_lineno)
            self.msg('+ %s: %s' % (location, line))
            pass
        # Do something with history?
        return line
def read_command ( self , prompt = '' ) : self . input_lineno += 1 line = self . readline ( ) if self . verbose : location = "%s line %s" % ( self . script_name , self . input_lineno ) self . msg ( '+ %s: %s' % ( location , line ) ) pass # Do something with history? return line
Script interface to read a command. `prompt' is a parameter for
        compatibilty and is ignored.
Script interface to read a command . prompt is a parameter for compatibilty and is ignored .