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
venv directory is configured in config_appli.xml file
[modules/kernel.git]
/
bin
/
runSession.py
diff --git
a/bin/runSession.py
b/bin/runSession.py
index c83cf502f87d182ccc7f42ad8bdf7cae8d41c550..12ece0b7b6660d3feae50f9550132b83f7323a8d 100644
(file)
--- a/
bin/runSession.py
+++ b/
bin/runSession.py
@@
-153,7
+153,7
@@
User "myself" connects to remotemachine to run the script concatenate.py in
try:
# keep short name for host, for a correct comparison with getShortHostName() later
host=host.split('.')[0]
try:
# keep short name for host, for a correct comparison with getShortHostName() later
host=host.split('.')[0]
- except:
+ except
Exception
:
pass
else:
# No running session
pass
else:
# No running session
@@
-220,7
+220,7
@@
def __runLocalSession(command):
if proc.returncode != 0:
any_error = True
error_code = proc.returncode
if proc.returncode != 0:
any_error = True
error_code = proc.returncode
- except:
+ except
Exception
:
any_error = True
pass
any_error = True
pass