Salome HOME
Merge from OCC_development_generic_2006
[samples/datafiles.git] / Superv / Python / GraphInLinesUnValid.py
index c888f5e63c65a6ed2959093e9ace179416dec10e..276b59580a0270e6dc7decb5d5707fb53ca0aaf6 100755 (executable)
@@ -70,11 +70,11 @@ Adda.AddCoord( 2 , 7 , 332 )
 Adda.AddCoord( 3 , 645 , 334 )
 Adda.AddCoord( 4 , 645 , 204 )
 
-statvalid = GraphInLinesUnValid.IsValid()
-if statvalid != 0 :
-    print "ERROR : GraphInLinesUnValid should not be valid"
+statexec = GraphInLinesUnValid.IsExecutable()
+if statexec != 0 :
+    print "ERROR : GraphInLinesUnValid should not be executable"
 else :
-    print "Ok : GraphInLinesUnValid is not valid"
+    print "Ok : GraphInLinesUnValid is not executable"
 
 # Creation of Output variables
 statrun = GraphInLinesUnValid.Run()