def add_record(self, msg_id, rec):
        """Add a new Task Record, by msg_id."""
        if self._records in msg_id:
            raise KeyError("Already have msg_id %r"%(msg_id))
        self._records[msg_id] = rec
dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/controller/dictdb.py/DictDB.add_record/swapped operands of `in`