Skip to content

Commit d812555

Browse files
author
Doug Blank
committed
Removed stop on stderr printing, and aborted msg_type
1 parent 3654534 commit d812555

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

jupyter_client/runapp.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,12 @@ def execute_printing_output(self, cell):
136136
elif msg_type == 'stream':
137137
stream = getattr(sys, content['name'])
138138
stream.write(content['text'])
139-
# TODO: remove this when all kernels use error msg_type:
140-
if content['name'] == "stderr":
141-
return_code = 1
142139
elif msg_type in ('display_data', 'execute_result', 'error'):
143140
if msg_type == 'error':
144141
print('\n'.join(content['traceback']), file=sys.stderr)
145142
return_code = 1
146143
else:
147144
sys.stdout.write(content['data'].get('text/plain', ''))
148-
elif msg_type == 'aborted':
149-
return_code = 1
150145
else:
151146
pass
152147
return return_code

0 commit comments

Comments
 (0)