def addtlvdata(self, k, v):
        if k in self.tlvdata:
            raise KeyError, "key already exists: %s (val=%s)" % (k, v)
        self.tlvdata[k] = v
dataset/ETHPy150Open coreemu/core/daemon/core/api/coreapi.py/CoreMessage.addtlvdata/original