Example #1
0
def _dtCompileFunc(name, data):
    if Configuration.noTagDebug:
        otagdbg = DTCompilerUtil.tagDebug
        DTCompilerUtil.tagDebug = dt_no_tag_debug
        obj = DT.compileTemplate(data, name, tagRegistry)
        DTCompilerUtil.tagDebug = otagdbg
        return obj
    else:
        return DT.compileTemplate(data, name, tagRegistry)
Example #2
0
def _dtCompileFunc(name, data):
    if Configuration.noTagDebug:
        otagdbg = DTCompilerUtil.tagDebug
        DTCompilerUtil.tagDebug = dt_no_tag_debug
        obj = DT.compileTemplate(data, name, tagRegistry)
        DTCompilerUtil.tagDebug = otagdbg
        return obj
    else:
        return DT.compileTemplate(data, name, tagRegistry)
Example #3
0
def _dtCompileFunc( name, data ):
    return DT.compileTemplate( data, name, tagRegistry )
Example #4
0
def _dtCompileFunc(name, data):
    return DT.compileTemplate(data, name, tagRegistry)