mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
@@ -72,7 +72,7 @@ class ResultProcess(multiprocessing.Process):
|
||||
self._cur_worker = 0
|
||||
|
||||
try:
|
||||
if rslt_q.qsize() > 0:
|
||||
if not rslt_q.empty():
|
||||
debug("worker %d has data to read" % self._cur_worker)
|
||||
result = rslt_q.get()
|
||||
debug("got a result from worker %d: %s" % (self._cur_worker, result))
|
||||
|
||||
Reference in New Issue
Block a user