Skip to content

Commit c522c6c

Browse files
committed
[OMCProcessDocker*] rename class methods (2)
1 parent c2fced3 commit c522c6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

OMPython/OMCSession.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ def __init__(
623623
self._dockerCid: Optional[str] = None
624624
self._docker_process: Optional[DummyPopen] = None
625625

626-
def _omc_process_docker(self) -> Optional[DummyPopen]:
626+
def _docker_process_get(self) -> Optional[DummyPopen]:
627627
if sys.platform == 'win32':
628628
raise NotImplementedError("Docker not supported on win32!")
629629

@@ -838,7 +838,7 @@ def _docker_omc_start(self) -> Tuple[subprocess.Popen, DummyPopen, str]:
838838
raise OMCSessionException(f"Docker did not start (timeout={self._timeout} might be too short "
839839
"especially if you did not docker pull the image before this command).")
840840

841-
docker_process = self._omc_process_docker()
841+
docker_process = self._docker_process_get()
842842
if docker_process is None:
843843
raise OMCSessionException(f"Docker top did not contain omc process {self._random_string}. "
844844
f"Log-file says:\n{self.get_log()}")
@@ -926,7 +926,7 @@ def _docker_omc_start(self) -> Tuple[subprocess.Popen, DummyPopen]:
926926

927927
docker_process = None
928928
if isinstance(self._dockerCid, str):
929-
docker_process = self._omc_process_docker()
929+
docker_process = self._docker_process_get()
930930

931931
if docker_process is None:
932932
raise OMCSessionException(f"Docker top did not contain omc process {self._random_string} "

0 commit comments

Comments
 (0)