mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
loading a file pickle, not a string pickle
This commit is contained in:
parent
690093813b
commit
0b74f87745
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue