def test_dependency(linker): res = True g = Global() ctxt = PyV8.JSContext(g) g.__context__ = ctxt runtime = False try: linker() fp = open(linker.out_file_mod, 'r') txt = fp.read() fp.close() except Exception, e: return e
def test_dependency(linker): res = True g = Global() ctxt = PyV8.JSContext(g) g.__context__ = ctxt try: linker() fp = open(linker.out_file_mod, 'r') txt = fp.read() fp.close() ctxt.enter() x = ctxt.eval(txt) except Exception, e: res = e