Salome HOME
projects
/
samples
/
datafiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge from OCC_development_generic_2006
[samples/datafiles.git]
/
Superv
/
Python
/
GraphInLinesUnValid.py
diff --git
a/Superv/Python/GraphInLinesUnValid.py
b/Superv/Python/GraphInLinesUnValid.py
index c888f5e63c65a6ed2959093e9ace179416dec10e..276b59580a0270e6dc7decb5d5707fb53ca0aaf6 100755
(executable)
--- a/
Superv/Python/GraphInLinesUnValid.py
+++ b/
Superv/Python/GraphInLinesUnValid.py
@@
-70,11
+70,11
@@
Adda.AddCoord( 2 , 7 , 332 )
Adda.AddCoord( 3 , 645 , 334 )
Adda.AddCoord( 4 , 645 , 204 )
Adda.AddCoord( 3 , 645 , 334 )
Adda.AddCoord( 4 , 645 , 204 )
-stat
valid = GraphInLinesUnValid.IsValid
()
-if stat
valid
!= 0 :
- print "ERROR : GraphInLinesUnValid should not be
valid
"
+stat
exec = GraphInLinesUnValid.IsExecutable
()
+if stat
exec
!= 0 :
+ print "ERROR : GraphInLinesUnValid should not be
executable
"
else :
else :
- print "Ok : GraphInLinesUnValid is not
valid
"
+ print "Ok : GraphInLinesUnValid is not
executable
"
# Creation of Output variables
statrun = GraphInLinesUnValid.Run()
# Creation of Output variables
statrun = GraphInLinesUnValid.Run()