Skip to content
Snippets Groups Projects
Commit a945b027 authored by Antoine Millet's avatar Antoine Millet
Browse files

Changed AsyncWatcher class to use a new feature.

parent 9d856cd5
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ class AsyncWatcher(object): ...@@ -74,7 +74,7 @@ class AsyncWatcher(object):
>>> process(msg) >>> process(msg)
''' '''
responses = [] responses = []
while self._expected_responses: while self.remains:
try: try:
dt, response = self._get_in_queue(timeout=timeout) dt, response = self._get_in_queue(timeout=timeout)
except Empty: except Empty:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment