def run(self, banner='Welcome to the nagios command line interface'):
        if not self.config.options.quiet:
            self.sendline(banner)
        self.running = True
        while self.running:
            try:
                line = raw_input(self.prompt)
            except EOFError:
                line = 'EOF'
            except __HOLE__:
                line = ''

            self.dispatch(line)
dataset/ETHPy150Open tehmaze/nagios-cli/nagios_cli/cli.py/CLI.run