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:
f436737
)
Bug fix: the command "salome shell" was broken on some machines.
author
abn
<adrien.bruneton@cea.fr>
Mon, 17 Nov 2014 08:43:35 +0000
(09:43 +0100)
committer
abn
<adrien.bruneton@cea.fr>
Mon, 17 Nov 2014 08:43:35 +0000
(09:43 +0100)
bin/runSession.py
patch
|
blob
|
history
diff --git
a/bin/runSession.py
b/bin/runSession.py
index 64c8b6541d6ec70197f93a949963864f02d87c6d..de0eb624f49a586de99e7f8ca9d9b6b1daa33573 100644
(file)
--- a/
bin/runSession.py
+++ b/
bin/runSession.py
@@
-119,8
+119,7
@@
If MACHINE is remote, the following options MUST be provided:
os.environ['NSHOST'] = host
# determine running mode, taht is either 'local' or 'remote'
- from salomeContextUtils import getHostname
- here = getHostname()
+ here = socket.gethostname()
mode = "local"
if host != here and host != "localhost" and host != "no_host":
mode="remote"