def execCommand(self, cmd):
        words = cmd.split(" ")
        words = [i for i in words if i]
        if not words:
            return
        cmd, parameters = words[0].lower(), words[1:]

        if not self.commands in cmd:
            raise Exception(
                "Command {0} not found. Try 'help'\r\n".format(cmd))

        self.commands[cmd](*parameters)
dataset/ETHPy150Open uwdata/termite-visualizations/web2py/scripts/cpdb.py/console.execCommand/swapped operands of `in`