Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe10a24
)
Fix for ( Bug IPAL9592 3.0.0 REGRESSION: error is raised after import "batchmode_sal...
author
mzn
<mzn@opencascade.com>
Thu, 28 Jul 2005 12:23:50 +0000
(12:23 +0000)
committer
mzn
<mzn@opencascade.com>
Thu, 28 Jul 2005 12:23:50 +0000
(12:23 +0000)
src/KERNEL_PY/batchmode_salome.py
patch
|
blob
|
history
diff --git
a/src/KERNEL_PY/batchmode_salome.py
b/src/KERNEL_PY/batchmode_salome.py
index 249dff3e08f23ce1c55e1132d42a73a6772edc7c..abd099f1f3d40c8b5f5872efc991deea234ba374 100755
(executable)
--- a/
src/KERNEL_PY/batchmode_salome.py
+++ b/
src/KERNEL_PY/batchmode_salome.py
@@
-229,13
+229,13
@@
if orb is None:
lcc = LifeCycleCORBA(orb)
step = 0
-while step < 100 and lcc
._catalog
is None:
+while step < 100 and lcc is None:
lcc = LifeCycleCORBA(orb)
step = step + 1
time.sleep(4)
-if lcc
._catalog
is None:
- print "Warning: LifeCycleCORBA object
is incomplete
!!!"
+if lcc is None:
+ print "Warning: LifeCycleCORBA object
has not been initialized
!!!"
#create a naming service instance
naming_service = SALOME_NamingServicePy_i(orb)