daemon/core/misc/xmlutils.py
def xmltypetonodeclass(session, type):
    ''' Helper to convert from a type string to a class name in nodes.*.
    '''
    if hasattr(nodes, type):
        return eval("nodes.%s" % type)
    else:
        return None
 Helper to convert from a type string to a class name in nodes.*.
    
Helper to convert from a type string to a class name in nodes.*.
Helper to convert from a type string to a class name in nodes . * .
def xmltypetonodeclass(session, type):
    if hasattr(nodes, type):
        return eval("nodes.%s" % type)
    else:
        return None
def xmltypetonodeclass ( session , type ) : if hasattr ( nodes , type ) : return eval ( "nodes.%s" % type ) else : return None
Helper to convert from a type string to a class name in nodes.
Helper to convert from a type string to a class name in nodes .
''' Helper to convert from a type string to a class name in nodes.*.
    '''
session
type