Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0023629: [CEA] KERNEL_SALOME_CONCURRENT_TestConcurrentSession: does not return
[modules/kernel.git]
/
bin
/
appliskel
/
salome_starter.py
diff --git
a/bin/appliskel/salome_starter.py
b/bin/appliskel/salome_starter.py
index 795803d408da1eae96165d06d999acdb554565a8..2dc218a9479beb01873d88303afa7aa1303412c7 100644
(file)
--- a/
bin/appliskel/salome_starter.py
+++ b/
bin/appliskel/salome_starter.py
@@
-1,4
+1,4
@@
-#! /usr/bin/env python
+#! /usr/bin/env python
3
# Copyright (C) 2014-2017 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2014-2017 CEA/DEN, EDF R&D, OPEN CASCADE
#
@@
-53,7
+53,7
@@
def initialize(launcherPath, launcherFile):
appliPath = __detectAppliPath(launcherPath, launcherFile)
if appliPath is None:
appliPath = __detectAppliPath(launcherPath, launcherFile)
if appliPath is None:
- print
"ERROR: Unable to find application folder"
+ print
("ERROR: Unable to find application folder")
sys.exit(1)
appliPath = os.path.relpath(appliPath, homePath)
sys.exit(1)
appliPath = os.path.relpath(appliPath, homePath)
@@
-68,7
+68,7
@@
def initialize(launcherPath, launcherFile):
try:
from salomeContextUtils import setOmniOrbUserPath
setOmniOrbUserPath()
try:
from salomeContextUtils import setOmniOrbUserPath
setOmniOrbUserPath()
- except Exception
,
e:
- print
e
+ except Exception
as
e:
+ print
(e)
sys.exit(1)
# End of preliminary work
sys.exit(1)
# End of preliminary work