Merge pull request #32026 from techhat/decodeout

Don't require the decode_out file to already exist
This commit is contained in:
Mike Place 2016-03-21 14:17:05 -06:00
commit 65c634d197

View file

@ -552,7 +552,7 @@ def query(url,
else:
text = True
if decode_out and os.path.exists(decode_out):
if decode_out:
with salt.utils.fopen(decode_out, 'w') as dof:
dof.write(result_text)