def __init__(self, raw_message):
        self.message = msgpack.unpackb(raw_message)
        self.meta = self.message.get('meta', {})
        activity_logger.debug('<Request ' + str(self.message) + '>')

        try:
            self.db_uid = self.message.get('uid')  # In some case db_uid should be None
            self.command = self.message['cmd']
            self.data = self.message['args']  # __getitem__ will raise if !key
        except KeyError:
            errors_logger.exception("Invalid request message : %s" % self.message)
            raise MessageFormatError(self.message % "Invalid request message : %r")
dataset/ETHPy150Open oleiade/Elevator/debian/elevator/usr/lib/python2.6/dist-packages/elevator/message.py/Request.__init__/swapped operands of `%`