loading a file pickle, not a string pickle

This commit is contained in:
Thomas S Hatch 2011-03-09 10:02:44 -07:00
parent 690093813b
commit 0b74f87745

View file

@ -80,7 +80,7 @@ class LocalClient(object):
if fn_.startswith('.'):
continue
if not ret.has_key(fn_):
ret[fn_] = pickle.loads(open(os.path.join(jid_dir,
ret[fn_] = pickle.load(open(os.path.join(jid_dir,
fn_, 'return.p'), 'r'))
if len(ret) >= len(minions):
return ret