Skip to content

Commit

Permalink
Remove unneeded docker.errors import
Browse files Browse the repository at this point in the history
  • Loading branch information
BSchilperoort committed Jan 11, 2024
1 parent c439178 commit c2a101a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions PyStemmusScope/bmi/docker_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 0 additions & 2 deletions PyStemmusScope/bmi/docker_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]]:
Expand Down

0 comments on commit c2a101a

Please sign in to comment.