From b60ae956a25d0fc3e2ff75d6ed342adfaf8ad75a Mon Sep 17 00:00:00 2001 From: mkr Date: Wed, 5 Jul 2006 08:27:11 +0000 Subject: [PATCH] Fix for PAL12854 : EDF211 SUPERV Incorrect execution of a correct graph correct under a context. --- src/GraphExecutor/DataFlowExecutor_InNode.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/GraphExecutor/DataFlowExecutor_InNode.cxx b/src/GraphExecutor/DataFlowExecutor_InNode.cxx index 028a970..fde0428 100644 --- a/src/GraphExecutor/DataFlowExecutor_InNode.cxx +++ b/src/GraphExecutor/DataFlowExecutor_InNode.cxx @@ -1580,6 +1580,11 @@ bool GraphExecutor::InNode::InitPythonFunctions(bool WithErr ) { string( Name() ) ; _OutNode->Graph()->SetMessages( anErrorMessage ) ; } + // PAL12854 --> + if ( Err ) { + PyFuncRunned( false ) ; + } + // PAL12854 <-- cdebug << "GraphExecutor::InNode::InitPythonFunctions " << Name() << " PyRunMethod(Init) " << PyRunMethod << " PyMoreMethod " << PyMoreMethod << " PyNextMethod " << PyNextMethod << endl; -- 2.39.2