Show More
@@ -58,7 +58,7 b' class DummySocket(HasTraits):' | |||||
58 | return self.queue.get_nowait() |
|
58 | return self.queue.get_nowait() | |
59 |
|
59 | |||
60 | def send_multipart(self, msg_parts, flags=0, copy=True, track=False): |
|
60 | def send_multipart(self, msg_parts, flags=0, copy=True, track=False): | |
61 | msg_parts = map(zmq.Message, msg_parts) |
|
61 | msg_parts = list(map(zmq.Message, msg_parts)) | |
62 | self.queue.put_nowait(msg_parts) |
|
62 | self.queue.put_nowait(msg_parts) | |
63 | self.message_sent += 1 |
|
63 | self.message_sent += 1 | |
64 |
|
64 |
General Comments 0
You need to be logged in to leave comments.
Login now