Skip to content

Commit 18e4258

Browse files
committed
[OMCProcessDocker*] rework inheritance chain; no multiple inheritance!
1 parent 8091199 commit 18e4258

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

OMPython/OMCSession.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ def _omc_port_get(self) -> str:
599599
return port
600600

601601

602-
class OMCProcessDockerHelper:
602+
class OMCProcessDockerHelper(OMCProcess):
603603

604604
def __init__(self, **kwargs) -> None:
605605
super().__init__(**kwargs)
@@ -662,7 +662,7 @@ def get_docker_container_id(self) -> str:
662662
return self._dockerCid
663663

664664

665-
class OMCProcessDocker(OMCProcessDockerHelper, OMCProcess):
665+
class OMCProcessDocker(OMCProcessDockerHelper):
666666

667667
def __init__(
668668
self,
@@ -843,7 +843,7 @@ def _omc_docker_start(self) -> Tuple[subprocess.Popen, DummyPopen, str]:
843843
return omc_process, docker_process, docker_cid
844844

845845

846-
class OMCProcessDockerContainer(OMCProcessDockerHelper, OMCProcess):
846+
class OMCProcessDockerContainer(OMCProcessDockerHelper):
847847

848848
def __init__(
849849
self,

0 commit comments

Comments
 (0)