def Put(self, db, key, value, *args, **kwargs):
        """
        Handles Put message command.
        Executes a Put operation over the leveldb backend.

        db      =>      LevelDB object
        *args   =>      (key, value) to update

        """
        try:
            return success(db.Put(key, value))
        except __HOLE__:
            error_msg = "Unsupported value type : %s" % type(value)
            errors_logger.exception(error_msg)
            return failure(TYPE_ERROR, error_msg)
dataset/ETHPy150Open oleiade/Elevator/debian/elevator/usr/lib/python2.6/dist-packages/elevator/api.py/Handler.Put