Show More
@@ -726,6 +726,10 b' class Client(HasTraits):' | |||||
726 | if self.debug: |
|
726 | if self.debug: | |
727 | pprint(msg) |
|
727 | pprint(msg) | |
728 | parent = msg['parent_header'] |
|
728 | parent = msg['parent_header'] | |
|
729 | # ignore IOPub messages with no parent. | |||
|
730 | # Caused by print statements or warnings from before the first execution. | |||
|
731 | if not parent: | |||
|
732 | continue | |||
729 | msg_id = parent['msg_id'] |
|
733 | msg_id = parent['msg_id'] | |
730 | content = msg['content'] |
|
734 | content = msg['content'] | |
731 | header = msg['header'] |
|
735 | header = msg['header'] |
General Comments 0
You need to be logged in to leave comments.
Login now