def setField(self,name):
        f=self.getField(name)
        if f: return f
        return self.addChild(node=DataField(name))
Create if nessessary or get the existing datafield object with name 'name' and return it.
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/xmpp/protocol.py/DataForm.setField