##// END OF EJS Templates
remove module-level logger in zmq.iostream...
MinRK -
Show More
@@ -1,4 +1,3 b''
1 import logging
2 import sys
1 import sys
3 import time
2 import time
4 from io import StringIO
3 from io import StringIO
@@ -11,9 +10,6 b' from IPython.utils import io'
11 # Globals
10 # Globals
12 #-----------------------------------------------------------------------------
11 #-----------------------------------------------------------------------------
13
12
14 # Module-level logger
15 logger = logging.getLogger(__name__)
16
17 #-----------------------------------------------------------------------------
13 #-----------------------------------------------------------------------------
18 # Stream classes
14 # Stream classes
19 #-----------------------------------------------------------------------------
15 #-----------------------------------------------------------------------------
@@ -48,7 +44,6 b' class OutStream(object):'
48 content = {u'name':self.name, u'data':data}
44 content = {u'name':self.name, u'data':data}
49 msg = self.session.send(self.pub_socket, u'stream', content=content,
45 msg = self.session.send(self.pub_socket, u'stream', content=content,
50 parent=self.parent_header, ident=self.topic)
46 parent=self.parent_header, ident=self.topic)
51 logger.debug(msg)
52
47
53 self._buffer.close()
48 self._buffer.close()
54 self._new_buffer()
49 self._new_buffer()
General Comments 0
You need to be logged in to leave comments. Login now