diff --git a/PyStemmusScope/bmi/docker_process.py b/PyStemmusScope/bmi/docker_process.py index 3637c489..e82459ad 100644 --- a/PyStemmusScope/bmi/docker_process.py +++ b/PyStemmusScope/bmi/docker_process.py @@ -8,10 +8,8 @@ try: import docker - import docker.errors except ImportError: docker = None - docker.errors = None def wait_for_model(phrase: bytes, socket: Any) -> None: diff --git a/PyStemmusScope/bmi/docker_utils.py b/PyStemmusScope/bmi/docker_utils.py index 21db45e2..5b5657be 100644 --- a/PyStemmusScope/bmi/docker_utils.py +++ b/PyStemmusScope/bmi/docker_utils.py @@ -6,10 +6,8 @@ try: import docker - import docker.errors except ImportError: docker = None - docker.errors = None def make_docker_vols_binds(cfg_file: str) -> tuple[list[str], list[str]]: