Salome HOME
venv directory is configured in config_appli.xml file
[modules/kernel.git] / bin / runSession.py
index c83cf502f87d182ccc7f42ad8bdf7cae8d41c550..12ece0b7b6660d3feae50f9550132b83f7323a8d 100644 (file)
@@ -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