Fix issue with get_full_returns set comparrisons

This commit is contained in:
Thomas S Hatch 2012-09-10 16:23:20 -06:00
parent 3eee5c143b
commit 0f3db6f0f2

View File

@ -732,7 +732,7 @@ class LocalClient(object):
# The timeout +1 has not been reached and there is still a
# write tag for the syndic
continue
if len(found.intersection(minions)) >= len(minions):
if len(set(ret.keys()).intersection(minions)) >= len(minions):
return ret
if int(time.time()) > start + timeout:
return ret