Skip to content

Commit 1bc0630

Browse files
committed
Remove OutStream _fid initialization
1 parent 231dca6 commit 1bc0630

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ipykernel/iostream.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,6 @@ def _watch_pipe_fd(self):
386386
387387
"""
388388

389-
if self._fid is None:
390-
return
391-
392389
try:
393390
bts = os.read(self._fid, PIPE_BUFFER_SIZE)
394391
while bts and self._should_watch:
@@ -442,7 +439,6 @@ def __init__(
442439
self.session = session
443440
self._has_thread = False
444441
self.watch_fd_thread = None
445-
self._fid = None
446442
if not isinstance(pub_thread, IOPubThread):
447443
# Backward-compat: given socket, not thread. Wrap in a thread.
448444
warnings.warn(

0 commit comments

Comments
 (0)