

def createNode(self, pubsub, node, configure=None):
    assert (configure.xmlstream != None)
    create = CreateNodeMessage(pubsub, self.jid.userhost(), node)
    if configure:
        create.pubsub.addChild(configure)
    log.msg(('Creating node %s' % create.toXml()))
    return self.xmlstream.send(create)

dataset/ETHPy150Open selfsk/nodeset.core/src/nodeset/core/pubsub/agent.py XmppAgent.createNode/VarMisuse@20/23 `self`->`configure`