def __getitem__(self,name):
        item=self.getField(name)
        if item: return item.getValue()
        raise IndexError('No such field')
Simple dictionary interface for getting datafields values by their names.
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/xmpp/protocol.py/DataForm.__getitem__