def cmdloop(self):
        self.read_history()
        while 1:
            try:
                rc = cmd.Cmd.cmdloop(self)
            except __HOLE__:
                # let Ctrl+C just cancel input, like in a shell
                self.intro = None
                print
                continue
            break
        self.save_history()
        return rc
dataset/ETHPy150Open sassoftware/conary/conary/dbstore/shell.py/DbShell.cmdloop