Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bos #26615 Disable MGAdaptTests_without_session.py on Windows (Adaptation is not...
[modules/smesh.git]
/
doc
/
salome
/
examples
/
find_salome_actor_delegate_to_vtk.py
diff --git
a/doc/salome/examples/find_salome_actor_delegate_to_vtk.py
b/doc/salome/examples/find_salome_actor_delegate_to_vtk.py
index e008b7604f1cd28e48201c9dd30b08a3cd569ed2..df8dd13f4c1ecae4ef8e4b3d0f1e60d83ac70fac 100644
(file)
--- a/
doc/salome/examples/find_salome_actor_delegate_to_vtk.py
+++ b/
doc/salome/examples/find_salome_actor_delegate_to_vtk.py
@@
-5,5
+5,5
@@
import os
import sys
-result = 'SALOME_ACTOR_DELEGATE_TO_VTK' in os.environ
-
sys.exit(int(not result)
)
+if 'SALOME_ACTOR_DELEGATE_TO_VTK' not in os.environ:
+
raise RuntimeError('SALOME_ACTOR_DELEGATE_TO_VTK is not set!'
)