def __init__(self, session_json):
        logging.info ("POST data: %s" % session_json)
        session_data = jsonlib.loads(session_json)
        session_dict = session_data['session']
        for key in session_dict:
            val = session_dict[key]
            logging.info ((key, val) % "key: %s val: %s")
            if key == "from":
                setattr(self, "fromaddress", val)
            else:
                setattr(self, key, val)
	setattr(self, 'dict', session_dict)
dataset/ETHPy150Open sahana/eden/modules/tropo.py/Session.__init__/swapped operands of `%`