##// END OF EJS Templates
set parent of status messages for comm_msgs
MinRK -
Show More
@@ -45,13 +45,13 b' def with_output(method):'
45 45 def method_with_output(self, stream, ident, msg):
46 46 parent = msg['header']
47 47 self.shell.set_parent(parent)
48 self.shell.kernel._publish_status('busy')
48 self.shell.kernel._publish_status('busy', parent)
49 49 try:
50 50 return method(self, stream, ident, msg)
51 51 finally:
52 52 sys.stdout.flush()
53 53 sys.stderr.flush()
54 self.shell.kernel._publish_status('idle')
54 self.shell.kernel._publish_status('idle', parent)
55 55
56 56 return method_with_output
57 57
General Comments 0
You need to be logged in to leave comments. Login now