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:
b3f6bd5
)
16991 [CEA] Bug in salome shell command
author
rnv
<rnv@opencascade.com>
Tue, 28 May 2019 11:04:44 +0000
(14:04 +0300)
committer
rnv
<rnv@opencascade.com>
Tue, 28 May 2019 11:04:44 +0000
(14:04 +0300)
bin/runSession.py
patch
|
blob
|
history
diff --git
a/bin/runSession.py
b/bin/runSession.py
index 7f4ec5dfe935eb00ff29798c1b99b0397856b973..ce28673fff780e79bcabbcfa56780867ec867cc5 100644
(file)
--- a/
bin/runSession.py
+++ b/
bin/runSession.py
@@
-150,6
+150,11
@@
User "myself" connects to remotemachine to run the script concatenate.py in
os.environ['OMNIORB_CONFIG'] = fileOmniConfig
# --- set environment variables for port and hostname of NamingService
host, port = getNSparams()
+ try:
+ # keep short name for host, for a correct comparison with getShortHostName() later
+ host=host.split('.')[0]
+ except:
+ pass
else:
# No running session
host = "no_host"