

def _findNode(self, message, node):
    query = xpath.XPathQuery(('/iq/query/item[@node="%s"]' % node))
    items = query.queryForNodes(message)
    if (not node):
        raise Exception(('node %s, not found' % node))

dataset/ETHPy150Open selfsk/nodeset.core/src/nodeset/core/pubsub/agent.py XmppAgent._findNode/VarMisuse@39/56 `items`->`node`