Show More
@@ -60,8 +60,6 b' def sync_results(f, self, *args, **kwargs):' | |||||
60 | delta = self.outstanding.difference(self.client.outstanding) |
|
60 | delta = self.outstanding.difference(self.client.outstanding) | |
61 | completed = self.outstanding.intersection(delta) |
|
61 | completed = self.outstanding.intersection(delta) | |
62 | self.outstanding = self.outstanding.difference(completed) |
|
62 | self.outstanding = self.outstanding.difference(completed) | |
63 | for msg_id in completed: |
|
|||
64 | self.results[msg_id] = self.client.results[msg_id] |
|
|||
65 | return ret |
|
63 | return ret | |
66 |
|
64 | |||
67 | @decorator |
|
65 | @decorator | |
@@ -122,6 +120,7 b' class View(HasTraits):' | |||||
122 |
|
120 | |||
123 | def __init__(self, client=None, socket=None, **flags): |
|
121 | def __init__(self, client=None, socket=None, **flags): | |
124 | super(View, self).__init__(client=client, _socket=socket) |
|
122 | super(View, self).__init__(client=client, _socket=socket) | |
|
123 | self.results = client.results | |||
125 | self.block = client.block |
|
124 | self.block = client.block | |
126 |
|
125 | |||
127 | self.set_flags(**flags) |
|
126 | self.set_flags(**flags) |
General Comments 0
You need to be logged in to leave comments.
Login now