def make_node(path, modules, value=None):
    if type(modules) is not list:
        modules = [modules]
    pathelements = path.split("/")
    if not pathelements[0]: # delete possible empty root node
        del pathelements[0]
    rootnode = current = _construct_node(pathelements[0], modules)
    for element in pathelements[1:]:
        new = _construct_node(element, modules)
        current.append(new)
        current = new
    current.set_inline()
    if value is not None:
        current.add_text(value)
    return rootnode
Connect to the database, perform a query which raises an error
dataset/ETHPy150Open kdart/pycopia/XML/pycopia/XML/POM.py/make_node--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/cx_Oracle-5.1.2/test/SessionPool.py/TestConnection.__ConnectAndGenerateError