Commit 7598f2f1 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[execution][subprocess] Code cleanup

parent b434f1c6
......@@ -41,16 +41,12 @@ subprocess
Execution utilities
"""
from __future__ import absolute_import
import os
import shutil
import logging
import sys
import subprocess as sp
import subprocess as sp # nosec
import tempfile
import requests
import zmq
from beat.backend.python.execution import MessageHandler
......@@ -415,7 +411,7 @@ class SubprocessExecutor(RemoteExecutor):
algorithm_process.kill()
status = algorithm_process.wait()
except:
except Exception:
algorithm_process.kill()
status = algorithm_process.wait()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment