From e2d732b399143482fef1d79ec509b8d41de07dad 2012-07-21 03:14:33 From: Jason Grout Date: 2012-07-21 03:14:33 Subject: [PATCH] Revert "Add a metadata attribute to zeromq stdout/stderr stream messages" This reverts commit c32771c742bc2da61861461160b121d89ec4b38e. --- diff --git a/IPython/zmq/iostream.py b/IPython/zmq/iostream.py index cbe2e93..f20a660 100644 --- a/IPython/zmq/iostream.py +++ b/IPython/zmq/iostream.py @@ -28,15 +28,10 @@ class OutStream(object): self.name = name self.parent_header = {} self._new_buffer() - self.metadata = {} def set_parent(self, parent): self.parent_header = extract_header(parent) - def set_metadata(self, metadata): - self.flush() - self.metadata = metadata - def close(self): self.pub_socket = None @@ -48,8 +43,6 @@ class OutStream(object): data = self._buffer.getvalue() if data: content = {u'name':self.name, u'data':data} - if self.metadata: - content['metadata'] = self.metadata msg = self.session.send(self.pub_socket, u'stream', content=content, parent=self.parent_header, ident=self.topic)