fix infinate loop in return checks

This commit is contained in:
Thomas S Hatch 2011-03-09 13:18:19 -07:00
parent 16e1a050e4
commit 6a56431446

View file

@ -109,7 +109,7 @@ class LocalClient(object):
if not os.path.isfile(retp):
continue
ret[fn_] = pickle.load(open(retp, 'r'))
if ret:
if ret and start == 999999999999:
start = int(time.time())
if len(ret) >= len(minions):
return ret