Skip to content

Commit af4a9a2

Browse files
committed
call _create_connected_socket to instantiate _control_socket in KernelManager
1 parent 51d1d7a commit af4a9a2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ __pycache__
1414
.coverage
1515
.cache
1616
absolute.json
17-
*.swp
1817

1918
# Sphinx documentation
2019
_build

jupyter_client/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def _launch_kernel(self, kernel_cmd, **kw):
196196

197197
def _connect_control_socket(self):
198198
if self._control_socket is None:
199-
self._control_socket = self.connect_control()
199+
self._control_socket = self._create_connected_socket('control')
200200
self._control_socket.linger = 100
201201

202202
def _close_control_socket(self):

0 commit comments

Comments
 (0)