X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=bin%2FrunSession.py;h=12ece0b7b6660d3feae50f9550132b83f7323a8d;hb=04b59b7c4c209b334672482093060b23ed105cf1;hp=c83cf502f87d182ccc7f42ad8bdf7cae8d41c550;hpb=abd9c8f881842775d52b066724ade9996cdad02b;p=modules%2Fkernel.git diff --git a/bin/runSession.py b/bin/runSession.py index c83cf502f..12ece0b7b 100644 --- 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] - except: + except Exception: pass else: # No running session @@ -220,7 +220,7 @@ def __runLocalSession(command): if proc.returncode != 0: any_error = True error_code = proc.returncode - except: + except Exception: any_error = True pass