The salt client api works! Of course nothing happens yet, but it is closer!

This commit is contained in:
Thomas S Hatch 2011-03-07 16:55:25 -07:00
parent ca05f96697
commit e96c559064

View file

@ -143,7 +143,7 @@ class ReqServer(threading.Thread):
jid_dir = os.path.join(jid_root, jid)
if not os.path.isdir(jid_dir):
os.makedirs(jid_dir)
pickle.dump(load, open(os.path.join(jid_dir, 'load.p')))
pickle.dump(load, open(os.path.join(jid_dir, 'load.p'), 'w+'))
else:
return self._prep_jid(load)
return jid